We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65fa00d commit 0b29186Copy full SHA for 0b29186
tasks/steep.rake
@@ -69,7 +69,13 @@ namespace :steep do
69
File
70
.foreach('Steepfile')
71
.with_object([]) { |line, ignored_files| line =~ /^\s*ignore\s+(["'])(.*?(?:\\?.)*?)\1/ && ignored_files << $2 }
72
- .each { |file| $stdout.write("|datadog|#{file}|ignored|N/A|N/A|N/A|0|\n") }
+ .each do |file|
73
+ if File.exist?(file)
74
+ $stdout.write("|datadog|#{file}|ignored|N/A|N/A|N/A|0|\n")
75
+ else
76
+ warn "Ignored file '#{file}' does not exist. Please remove it from the Steepfile."
77
+ end
78
79
else
80
sh "steep stats --format=#{format}"
81
end
0 commit comments