agent-gauntlet 1.2.1 → 1.2.2

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
@@ -299,7 +299,7 @@ import { Command } from "commander";
299
299
  // package.json
300
300
  var package_default = {
301
301
  name: "agent-gauntlet",
302
- version: "1.2.1",
302
+ version: "1.2.2",
303
303
  description: "A CLI tool for testing AI coding agents",
304
304
  license: "MIT",
305
305
  author: "Paul Caplan",
@@ -7465,7 +7465,7 @@ function registerDetectCommand(program) {
7465
7465
  const changes = await changeDetector.getChangedFiles();
7466
7466
  if (changes.length === 0) {
7467
7467
  console.log(chalk6.green("No changes detected."));
7468
- return;
7468
+ process.exit(2);
7469
7469
  }
7470
7470
  console.log(chalk6.dim(`Found ${changes.length} changed files:`));
7471
7471
  for (const file of changes) {
@@ -7476,7 +7476,7 @@ function registerDetectCommand(program) {
7476
7476
  const jobs = jobGen.generateJobs(entryPoints);
7477
7477
  if (jobs.length === 0) {
7478
7478
  console.log(chalk6.yellow("No applicable gates for these changes."));
7479
- return;
7479
+ process.exit(2);
7480
7480
  }
7481
7481
  console.log(chalk6.bold(`Would run ${jobs.length} gate(s):
7482
7482
  `));
@@ -9790,4 +9790,4 @@ if (process.argv.length < 3) {
9790
9790
  }
9791
9791
  program.parse(process.argv);
9792
9792
 
9793
- //# debugId=BA297B6C5F2D9C1264756E2164756E21
9793
+ //# debugId=CF37A587784E2DFE64756E2164756E21