Added .pl to the list of supported files (#98)

* Added .pl to the list of supported files

Includes support for Perl (.pl) file, treated in the same way as shell scripts.

* Adding .pl to the relevant test case
This commit is contained in:
Carlos Boneti
2021-10-27 18:51:01 -07:00
committed by GitHub
parent d1984d070c
commit fc41b40a66
2 changed files with 2 additions and 2 deletions

View File

@@ -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"},
[]string{"f.py", "f.sh", "f.yaml", "f.yml", "f.dockerfile", "dockerfile", "f.rb", "gemfile", "f.tcl", "f.bzl", "f.pl"},
"# HYS\n\n",
},
{