Skip to content

Commit 76ffba6

Browse files
author
Andy Hanson
committed
Fix gulp runtests-browser
1 parent ac67b94 commit 76ffba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gulpfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ gulp.task("browserify", "Runs browserify on run.js to produce a file suitable fo
749749
const originalMap = file.sourceMap;
750750
const prebundledContent = file.contents.toString();
751751
// Make paths absolute to help sorcery deal with all the terrible paths being thrown around
752-
originalMap.sources = originalMap.sources.map(s => path.resolve(s));
752+
originalMap.sources = originalMap.sources.map(s => path.resolve(path.join("src/harness", s)));
753753
// intoStream (below) makes browserify think the input file is named this, so this is what it puts in the sourcemap
754754
originalMap.file = "built/local/_stream_0.js";
755755

0 commit comments

Comments
 (0)