MCPcopy Create free account
hub / github.com/Azure/powershell / escapeProperty

Function escapeProperty

lib/index.js:91–98  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

89 .replace(/\n/g, '%0A');
90}
91function escapeProperty(s) {
92 return utils_1.toCommandValue(s)
93 .replace(/%/g, '%25')
94 .replace(/\r/g, '%0D')
95 .replace(/\n/g, '%0A')
96 .replace(/:/g, '%3A')
97 .replace(/,/g, '%2C');
98}
99//# sourceMappingURL=command.js.map
100
101/***/ }),

Callers 1

toStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…