From 2a4b9c70e7e2d65ea36e13d79bda41b9619a381b Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Thu, 6 Jul 2017 15:56:59 -0700 Subject: [PATCH] Use correct source root for tests (#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. --- Gulpfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gulpfile.ts b/Gulpfile.ts index 63faf992599..477d40ce28b 100644 --- a/Gulpfile.ts +++ b/Gulpfile.ts @@ -561,7 +561,7 @@ gulp.task(run, /*help*/ false, [servicesFile], () => { .pipe(newer(run)) .pipe(sourcemaps.init()) .pipe(testProject()) - .pipe(sourcemaps.write(".", { includeContent: false, sourceRoot: "../../" })) + .pipe(sourcemaps.write(".", { includeContent: false, sourceRoot: "." })) .pipe(gulp.dest("src/harness")); });