Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .nomad and .tfvars (HCL) #116

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test table from code review
  • Loading branch information
CalebAlbers committed Aug 2, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 12435d44c5f928eacef4bc02a84f302e51f2d113
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
@@ -316,7 +316,7 @@ func TestLicenseHeader(t *testing.T) {
"// HYS\n\n",
},
{
[]string{"f.py", "f.sh", "f.yaml", "f.yml", "f.dockerfile", "dockerfile", "f.rb", "gemfile", "f.tcl", "f.bzl", "f.pl", "f.pp"},
[]string{"f.py", "f.sh", "f.yaml", "f.yml", "f.dockerfile", "dockerfile", "f.rb", "gemfile", "f.tcl", "f.bzl", "f.pl", "f.pp", "f.nomad", "f.tfvars"},
"# HYS\n\n",
},
{
19 changes: 0 additions & 19 deletions testdata/expected/file.nomad

This file was deleted.

16 changes: 0 additions & 16 deletions testdata/expected/file.tfvars

This file was deleted.

5 changes: 0 additions & 5 deletions testdata/initial/file.nomad

This file was deleted.

2 changes: 0 additions & 2 deletions testdata/initial/file.tfvars

This file was deleted.