Fix Dangerfile again

parent 93816cae
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# ensuring that we don't get green builds based on a subset of tests # ensuring that we don't get green builds based on a subset of tests
(git.modified_files + git.added_files - %w(Dangerfile)).each do |file| (git.modified_files + git.added_files - %w(Dangerfile)).each do |file|
next unless File.file?(file) next unless File.file?(file)
next unless file.ends_with? '.rb' next unless file.end_with? '.rb'
contents = File.read(file) contents = File.read(file)
if file.start_with?('spec') if file.start_with?('spec')
......
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