@lousy-agents/cli 2.9.0 → 2.9.1

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/index.js CHANGED
@@ -55991,7 +55991,11 @@ const remark = unified().use(remarkParse).use(remarkStringify).freeze()
55991
55991
  }
55992
55992
  }
55993
55993
  if (totalErrors > 0) {
55994
- throw new Error(`lint failed: ${totalErrors} error(s), ${totalWarnings} warning(s)`);
55994
+ process.exitCode = 1;
55995
+ if (format === "human") {
55996
+ consola.error(`lint failed: ${totalErrors} error(s), ${totalWarnings} warning(s)`);
55997
+ }
55998
+ return;
55995
55999
  }
55996
56000
  if (format === "human") {
55997
56001
  if (totalWarnings > 0) {