`rea analyze PATH` routes a JavaScript directory or ASAR to the same static analysis as `rea analyze-javascript-application`, but it passed no signal and was not wrapped in withCommandCancellation. On SIGINT the process was killed with no output (signal SIGINT, empty stdout). The dedicated command returns a typed `cancelled` result and exits 130. The #1098 review raised this route. Decide the route first. A JavaScript target now runs exactly like the dedicated command: cancellation wraps logging, so the cancelled exit code is not replaced by the logged failure status. The binary route is unchanged and keeps its own SIGINT handling in runDirectAnalysis. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| appBundleEncodingCli.test.ts | ||
| applicationWorkflowCli.test.ts | ||
| electronBlankPathCli.test.ts | ||
| javascriptBuiltinDefaultsCli.test.ts | ||
| javascriptCancellationCli.test.ts | ||
| javascriptFunctionNameCli.test.ts | ||
| runtime.test.ts | ||