Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/getsentry/XcodeBuildMCP
/ shellEscapeArg
Function
shellEscapeArg
src/utils/shell-escape.ts:11–13 ·
view source on GitHub ↗
(arg: string)
Source
from the content-addressed store, hash-verified
9
* @returns A single-quoted, safely escaped string
10
*/
11
export
function
shellEscapeArg(arg: string): string {
12
return
"'"
+ arg.replace(/
'/g, "'
\\
''
") + "
'";
13
}
Callers
4
defaultExecutor
Function · 0.90
formatCliArg
Function · 0.90
formatCliParamValue
Function · 0.90
shell-escape.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected