mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-01 06:23:28 +08:00
fix: require bounded loop-status exit-code watch
This commit is contained in:
@@ -116,6 +116,10 @@ function parseArgs(argv) {
|
||||
}
|
||||
}
|
||||
|
||||
if (options.exitCode && options.watch && options.watchCount === null) {
|
||||
throw new Error('--exit-code with --watch requires --watch-count so the process can exit');
|
||||
}
|
||||
|
||||
return options;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user