MCPcopy Index your code
hub / github.com/nodejs/node / escapeComment

Function escapeComment

lib/internal/test_runner/reporter/junit.js:29–31  ·  view source on GitHub ↗
(s = '')

Source from the content-addressed store, hash-verified

27}
28
29function escapeComment(s = '') {
30 return RegExpPrototypeSymbolReplace(/--/g, s, '--');
31}
32
33function treeToXML(tree) {
34 if (typeof tree === 'string') {

Callers 1

treeToXMLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected