Skip to content

Commit

Permalink
leaked-globals: colorize skipping file names [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Apr 2, 2023
1 parent 1b475fc commit 3a68396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/leaked-globals
Expand Up @@ -39,7 +39,7 @@ end
missing = File.dirname(config) + "/missing/"
ARGV.reject! do |n|
unless (src = Dir.glob(missing + File.basename(n, ".*") + ".[cS]")).empty?
puts "Ignore #{n} because of #{src.map {|s| File.basename(s)}.join(', ')} under missing"
puts "Ignore #{col.skip(n)} because of #{src.map {|s| File.basename(s)}.join(', ')} under missing"
true
end
end
Expand Down

0 comments on commit 3a68396

Please sign in to comment.