Skip to content

Commit

Permalink
# corrected check_license_headers.rb
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <theotr@amazon.com>
  • Loading branch information
nhtruong committed Feb 6, 2025
1 parent dd5b3c1 commit 8a0b76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/check_license_headers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# under the License.

LICENSE = File.read('./.github/license-header.txt')
files = `git ls-files | grep -E '\.rb|Rakefile|\.rake|\.erb|Gemfile|gemspec'`.split("\n")
files = `git ls-files | grep -E '\.rb|^Rakefile$|\.rake|\.erb|^Gemfile$|^gemspec$'`.split("\n")
errors = []

files.each do |file|
Expand Down

0 comments on commit 8a0b76f

Please sign in to comment.