MCPcopy Index your code
hub / github.com/codeaashu/claude-code / stripExitCode

Function stripExitCode

web/components/tools/ToolBash.tsx:51–53  ·  view source on GitHub ↗
(result: string)

Source from the content-addressed store, hash-verified

49}
50
51function stripExitCode(result: string): string {
52 return result.replace(/\nExit code: \d+\s*$/, "");
53}
54
55const MAX_OUTPUT_LINES = 200;
56

Callers 1

ToolBashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected