MCPcopy Create free account
hub / github.com/simstudioai/sim / escapeKey

Function escapeKey

apps/sim/connectors/jira/jira.ts:19–19  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

17 */
18function buildProjectClause(projectKeys: string[]): string {
19 const escapeKey = (key: string) => key.replace(/\\/g, '\\\\').replace(/"/g, '\\"')
20 if (projectKeys.length === 1) {
21 return `project = "${escapeKey(projectKeys[0])}"`
22 }

Callers 1

buildProjectClauseFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected