MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / escapePathSpaces

Method escapePathSpaces

tools/mcmanifest.js:68–70  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

66 this.write("'\n");
67 }
68 escapePathSpaces(path) {
69 return path.replace(/ /g, "\\ ")
70 }
71 generate(tool) {
72 this.generateDefinitions(tool);
73 if (tool.environment?.MAKE_FRAGMENT) // override default .mk file

Callers 1

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected