By adding a "fail" script to _common, we can specify a set of required pretty printers and then fail if they don't run.
PRETTY_JS="jsbeautify fail"
Normally, when things fail, it will try the next pretty printer. In this case, if jsbeautify is not on the system then git-started would fall back to the "fail" script. We want "fail" to say it can be ran and it must always stop the pretty printing or lint checking.
By adding a "fail" script to _common, we can specify a set of required pretty printers and then fail if they don't run.
Normally, when things fail, it will try the next pretty printer. In this case, if jsbeautify is not on the system then git-started would fall back to the "fail" script. We want "fail" to say it can be ran and it must always stop the pretty printing or lint checking.