lib/spoom/cli/bump.rb in spoom-1.1.2 vs lib/spoom/cli/bump.rb in spoom-1.1.3
- old
+ new
@@ -100,9 +100,10 @@
files_with_errors = errors.map do |err|
path = File.expand_path(err.file)
next unless path.start_with?(directory)
next unless File.file?(path)
+ next unless files_to_bump.include?(path)
path
end.compact.uniq
undo_changes(files_with_errors, from)