MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / sq

Function sq

packages/bumpy/src/utils/shell.ts:8–10  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

6 * and re-opening the single-quote: "it's" → 'it'\''s'
7 */
8export function sq(value: string): string {
9 return "'" + value.replace(/'/g, "'\\''") + "'";
10}
11
12// ---- Test interception ----
13

Callers 1

publishPackagesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected