MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / stripQuotes

Function stripQuotes

source code/utils/bash/parser.ts:226–232  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

224}
225
226function stripQuotes(text: string): string {
227 return text.length >= 2 &&
228 ((text[0] === '"' && text.at(-1) === '"') ||
229 (text[0] === "'" && text.at(-1) === "'"))
230 ? text.slice(1, -1)
231 : text
232}

Callers 1

extractCommandArgumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected