Process fails with --init-rule-docs
when no docs need to be created
#494
Labels
bug
Something isn't working
--init-rule-docs
when no docs need to be created
#494
Running
eslint-doc-generator --init-rule-docs
will exit with the following error if no docs need to be created. I would expect this to be skipped in the case where nothing needs to be created.$ eslint-doc-generator --init-rule-docs --init-rule-docs was enabled, but no rule doc file needed to be created. error Command failed with exit code 1.
My ideal workflow would be to always pass this flag in case there's been a rule that's been missed
The text was updated successfully, but these errors were encountered: