Report renumber fixes

This commit is contained in:
David Eisinger
2023-11-01 23:13:37 -04:00
parent 76110a673b
commit cc3cebb27c

View File

@@ -40,10 +40,13 @@ files.each do |file|
end
end
if content != updated
warn "Links in #{file} are not in order"
if fix
File.write(file, updated)
elsif content != updated
warn "Links in #{file} are not in order"
else
exit 1
end
end
end