Skip to content

Commit d635dca

Browse files
alan-agius4alexeagle
authored andcommitted
fix(builtin): use posix paths in assembler
Fixes #1635
1 parent 1569f4b commit d635dca

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

internal/pkg_web/BUILD.bazel

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ nodejs_binary(
3131
jasmine_node_test(
3232
name = "assembler_test",
3333
srcs = ["assembler_spec.js"],
34-
tags = [
35-
"fix-windows",
36-
],
3734
deps = [
3835
"assembler.js",
3936
],

internal/pkg_web/assembler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ function main(params) {
5959
function copy(f) {
6060
if (fs.statSync(f).isDirectory()) {
6161
for (const file of fs.readdirSync(f)) {
62-
copy(path.join(f, file));
62+
// Change paths to posix
63+
copy(path.join(f, file).replace(/\\/g, '/'));
6364
}
6465
} else {
6566
const dest = path.join(outdir, relative(f));

0 commit comments

Comments
 (0)