Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
51
function stripExitCode(result: string): string {
52
return result.replace(/\nExit code: \d+\s*$/,
""
);
53
}
54
55
const MAX_OUTPUT_LINES = 200;
56
Callers
1
ToolBash
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected