git-diff-ai-reviewer 1.2.3 → 1.2.4
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/bin/review.js +3 -3
- package/package.json +1 -1
package/bin/review.js
CHANGED
|
@@ -242,11 +242,11 @@ async function commandReview(config, flags) {
|
|
|
242
242
|
|
|
243
243
|
// Exit with non-zero if critical issues found
|
|
244
244
|
if (severityCounts.critical > 0) {
|
|
245
|
-
process.
|
|
245
|
+
process.exitCode = 1;
|
|
246
246
|
}
|
|
247
247
|
} catch (error) {
|
|
248
248
|
console.error(`\n❌ Review failed: ${error.message}`);
|
|
249
|
-
process.
|
|
249
|
+
process.exitCode = 2;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
|
|
@@ -390,5 +390,5 @@ async function main() {
|
|
|
390
390
|
|
|
391
391
|
main().catch(err => {
|
|
392
392
|
console.error(`\n❌ Unexpected error: ${err.message}`);
|
|
393
|
-
process.
|
|
393
|
+
process.exitCode = 2;
|
|
394
394
|
});
|
package/package.json
CHANGED