diff --git a/src/index.js b/src/index.js index 6ff6211..8b61881 100644 --- a/src/index.js +++ b/src/index.js @@ -29,7 +29,7 @@ const parse = (templatePath) => (matcherPath) => { fs.writeFileSync(matcherPath, parsed); - console.log('::add-matcher::' + matcherPath); + console.log('::add-matcher::' + matcherPath.replaceAll('\\', '\\\\')); } // main: @@ -42,4 +42,4 @@ try { // for testing exports.escapeRegExp = escapeRegExp -exports.variable = variable; \ No newline at end of file +exports.variable = variable;