MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / escapeArgumentDesc

Function escapeArgumentDesc

Rewrite-Parser.beta.js:2319–2321  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

2317}
2318
2319function escapeArgumentDesc(str) {
2320 return `${str ?? ''}`.replace(/\r?\n/g, '\\n').trim()
2321}
2322
2323function buildSurgeArgumentsDesc(args) {
2324 return args

Callers 2

buildSurgeArgumentsDescFunction · 0.85
applySurgeArgumentsDescFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected