rufo
rufo copied to clipboard
Rufo needs two passes to fix hash indenting
Given a file test.rb that contains
{
foo: "bar",
bar: "foo",
}
then rufo test.rb returns an exit status of '3' and changes the file to
{
foo: "bar",
bar: "foo",
}
if I run rufo test.rb AGAIN it returns an exits status of `3' and changes the file to
{
foo: "bar",
bar: "foo",
}
if I run rufo test.rb yet again if finally returns an exit status of '0' and makes no changes
I would expect rufo to change the file to the final form on the first run