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

Function stripQuotes

src/utils/bash/parser.ts:224–230  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

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

Callers 1

extractCommandArgumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected