MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / stripWrappingQuotes

Function stripWrappingQuotes

src/skill-manager.ts:294–303  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

292}
293
294function stripWrappingQuotes(value: string): string {
295 if (
296 (value.startsWith('"') && value.endsWith('"')) ||
297 (value.startsWith("'") && value.endsWith("'"))
298 ) {
299 return value.slice(1, -1);
300 }
301
302 return value;
303}
304
305export function syncSkillDescriptions(
306 workDir: string,

Callers 1

readFrontmatterFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected