jsdoczoom 0.4.17 → 0.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -421,6 +421,7 @@ function writeValidationResult(result, pretty) {
|
|
|
421
421
|
* Write lint result to stdout and set exit code 2 if issues found.
|
|
422
422
|
*/
|
|
423
423
|
function writeLintResult(result, pretty) {
|
|
424
|
+
if (result.summary.filesWithIssues === 0) return;
|
|
424
425
|
writeResult(result, pretty);
|
|
425
426
|
if (result.summary.filesWithIssues > 0) {
|
|
426
427
|
process.exitCode = 2;
|