TerminalComponent.processLine() rewrites a core command's stdout:
if(stdout===false){stdout=cmd+": command not found\n";}
clear returns "", so this arm is dead today. If a core command returns boolean false to signal failure, the user sees "command not found" instead of a failure message. Strict === false (not !stdout) is what keeps clear from being misreported — the false-rewrite itself is still the wrong error for a registered command.
Characterization: terminal.leftovers.spec.ts.
`TerminalComponent.processLine()` rewrites a core command's stdout:
```ts
if (stdout === false) {
stdout = cmd + ": command not found\n";
}
```
`clear` returns `""`, so this arm is dead today. If a core command returns boolean `false` to signal failure, the user sees **"command not found"** instead of a failure message. Strict `=== false` (not `!stdout`) is what keeps `clear` from being misreported — the false-rewrite itself is still the wrong error for a registered command.
Characterization: `terminal.leftovers.spec.ts`.
Resolved in spikersoft-angular PR #818 (merged to master). A registered command returning false prints "command failed" instead of "command not found". Closing.
Resolved in spikersoft-angular [PR #818](https://git.spikersoft.com/spikerj/spikersoft-angular/pulls/818) (merged to `master`). A registered command returning `false` prints "command failed" instead of "command not found". Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
TerminalComponent.processLine()rewrites a core command's stdout:clearreturns"", so this arm is dead today. If a core command returns booleanfalseto signal failure, the user sees "command not found" instead of a failure message. Strict=== false(not!stdout) is what keepsclearfrom being misreported — the false-rewrite itself is still the wrong error for a registered command.Characterization:
terminal.leftovers.spec.ts.Resolved in spikersoft-angular PR #818 (merged to
master). A registered command returningfalseprints "command failed" instead of "command not found". Closing.