Skip to content

Commit 8b68546

Browse files
committed
chore(windows): fix the JS e2e/benchmark tasks
1 parent 91d9e8d commit 8b68546

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/broccoli/trees/browser_tree.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ module.exports = function makeBrowserTree(options, destinationPath) {
147147

148148
var scriptPathPatternReplacement = {
149149
match: '@@FILENAME_NO_EXT',
150-
replacement: function(replacement, relativePath) { return relativePath.replace(/\.\w+$/, ''); }
150+
replacement: function(replacement, relativePath) {
151+
return relativePath.replace(/\.\w+$/, '').replace(/\\/g, '/');
152+
}
151153
};
152154

153155
var htmlTree = new Funnel(modulesTree, {include: ['*/src/**/*.html'], destDir: '/'});

0 commit comments

Comments
 (0)