google / go-jsonnet

Apache License 2.0
1.61k stars 231 forks source link

jsonnetfmt --test should print failed filenames #768

Open stefan-toubia opened 2 weeks ago

stefan-toubia commented 2 weeks ago

jsonnetfmt --test prints nothing and exits with status code 2 when it encounters the first changed file, making it impossible to know which file isn't formatted when testing multiple files. Instead, jsonnetfmt --test should print each failed file name to stdout.