From 4b5a8a73b592ed1d191583109dd8234b9272e4ec Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Thu, 6 Jul 2017 11:13:43 -0700 Subject: [PATCH] Use correct source root for tests 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 63faf99259923..477d40ce28beb 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")); });