VERIFY_ONLY should verify all files before failing
tomfuertes opened this issue · comments
Tom Fuertes commented
When I have 1+ files out of verification, it'd be nice if both were listed before failing in a non-forced run. Example w/ comments below.
$ grunt jsbeautifier:verify # Fails on first file
Running "jsbeautifier:verify" (jsbeautifier) task
Warning: app/assets/javascripts/CSVConvertor.js was not beautified Use --force to continue.
Aborted due to warnings.
$ grunt jsbeautifier:verify --force # Prints everything but doesn't fail
Running "jsbeautifier:verify" (jsbeautifier) task
Warning: app/assets/javascripts/CSVConvertor.js was not beautified Used --force, continuing.
Warning: app/assets/javascripts/ab_testing.js was not beautified Used --force, continuing.
Beautified 37 files, changed 0 files...OK
Done, but with warnings.
<3 -Tom
Derrick Pelletier commented
Agreed. I find the VERIFY_ONLY functionality to be confusing for this same reason. +1
Vishal Kadam commented
Fixed in 0.2.5