Commit d941d19e authored by Markus Koller's avatar Markus Koller

Fix detection of frozen_string_literal comments

parent 1d19b15c
......@@ -7,7 +7,7 @@ SHEBANG_COMMENT = "#!"
def get_files_with_no_magic_comment(files)
files.select do |path|
path.end_with?(FILE_EXTENSION) &&
file_has_frozen_string_magic_comment?(path)
!file_has_frozen_string_magic_comment?(path)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment