Skip to content

Commit 19b2782

Browse files
authored
Merge pull request microsoft#14512 from Microsoft/more-gulpfile-tsconfig-relative-path-fixes
Fix more gulp.dests to use the relative path of the tsconfig instead of `.`
2 parents 89f43d1 + 0c53b53 commit 19b2782

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gulpfile.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ gulp.task(servicesFile, false, ["lib", "generate-diagnostics"], () => {
416416
file.path = nodeDefinitionsFile;
417417
return content + "\r\nexport = ts;";
418418
}))
419-
.pipe(gulp.dest(".")),
419+
.pipe(gulp.dest("src/services")),
420420
completedDts.pipe(clone())
421421
.pipe(insert.transform((content, file) => {
422422
file.path = nodeStandaloneDefinitionsFile;
@@ -477,12 +477,12 @@ gulp.task(tsserverLibraryFile, false, [servicesFile], (done) => {
477477
return merge2([
478478
js.pipe(prependCopyright())
479479
.pipe(sourcemaps.write("."))
480-
.pipe(gulp.dest(".")),
480+
.pipe(gulp.dest("src/server")),
481481
dts.pipe(prependCopyright(/*outputCopyright*/true))
482482
.pipe(insert.transform((content) => {
483483
return content + "\r\nexport = ts;\r\nexport as namespace ts;";
484484
}))
485-
.pipe(gulp.dest("."))
485+
.pipe(gulp.dest("src/server"))
486486
]);
487487
});
488488

0 commit comments

Comments
 (0)