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
end end
if content != updated
warn "Links in #{file} are not in order"
if fix if fix
File.write(file, updated) File.write(file, updated)
elsif content != updated else
warn "Links in #{file} are not in order"
exit 1 exit 1
end end
end end
end