We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e255426 commit a5432ddCopy full SHA for a5432dd
spec/file_sorting_spec.rb
@@ -17,7 +17,7 @@ def with_shebang?(file)
17
def filtered_files(path, filter)
18
Dir.glob("#{path}/**/*")
19
.select { |f| File.file?(f) }
20
- .reject { |f| f =~ /\.(sh|rb|yml)$/ || File.symlink?(f) || with_shebang?(f) }
+ .reject { |f| f =~ /\.(sh|rb|yml|py|txt)$/ || File.symlink?(f) || with_shebang?(f) }
21
.select { |f| filter.nil? || filter.call(File.basename(f)) }
22
end
23
0 commit comments