lib/reek/source/source_locator.rb in reek-4.7.2 vs lib/reek/source/source_locator.rb in reek-4.7.3
- old
+ new
@@ -67,10 +67,10 @@
configuration.path_excluded?(path)
end
# :reek:UtilityFunction
def print_no_such_file_error(path)
- $stderr.puts "Error: No such file - #{path}"
+ warn "Error: No such file - #{path}"
end
# :reek:UtilityFunction
def hidden_directory?(path)
path.basename.to_s.start_with? '.'