v1.13.0 erroneously reports non-zero exit code #4599
Labels
area:cli
Issues with Prettier's Command Line Interface
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
type:bug
Issues identifying ugly output, or a defect in the program
reduced test case:
original test case: https://gist.github.com/FND/8cdcc6c60bd5430b2204fe930acc3eec/revisions
with v1.12.1, the following works as expected:
actively reformat source code:
ensure source code is formatted properly (e.g. as part of the test suite, continuous integration etc.):
here
--no-write
overrides--write
, which is useful because we don't have to modify Add testing #1's base command - particularly inpackage.json
:however, with v1.13.0, that second command fails with exit code 1, despite the source code being properly formatted
The text was updated successfully, but these errors were encountered: