Skip to content

Commit 2a4b9c7

Browse files
authored
Use correct source root for tests (microsoft#16982)
I noticed my error messages while testing were names like `"E:\Github\compiler\binder.ts"` - with this change, they originate from the correct location (are are thus clickable links in the console). The previous path may have been required as a workaround for some old version of the tools we use, but is apparently no longer needed.
1 parent 4b19eb3 commit 2a4b9c7

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
@@ -561,7 +561,7 @@ gulp.task(run, /*help*/ false, [servicesFile], () => {
561561
.pipe(newer(run))
562562
.pipe(sourcemaps.init())
563563
.pipe(testProject())
564-
.pipe(sourcemaps.write(".", { includeContent: false, sourceRoot: "../../" }))
564+
.pipe(sourcemaps.write(".", { includeContent: false, sourceRoot: "." }))
565565
.pipe(gulp.dest("src/harness"));
566566
});
567567

0 commit comments

Comments
 (0)