We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0160151 commit 01e7622Copy full SHA for 01e7622
lib/cucumberTemplate.js
@@ -4,8 +4,8 @@ const os = require("os");
4
const getPathFor = file => {
5
if (os.platform() === "win32") {
6
return path
7
- .join(__dirname.replace(/\\/g, path.sep), file)
8
- .replace(/\\/g, path.sep);
+ .join(__dirname.replace(/\\/g, "\\\\"), file)
+ .replace(/\\/g, "\\\\");
9
}
10
return `${__dirname}/${file}`;
11
};
0 commit comments