Skip to content

Commit 1acabe6

Browse files
apupieralexr00
authored andcommitted
Enclose global gulp path with quotes microsoft#68413 (microsoft#68418)
it will allow to have it working when path contains space Fixes microsoft#68413
1 parent 500376f commit 1acabe6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/gulp/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class FolderDetector {
122122
if (platform === 'win32' && await exists(path.join(rootPath!, 'node_modules', '.bin', 'gulp.cmd'))) {
123123
const globalGulp = path.join(process.env.APPDATA ? process.env.APPDATA : '', 'npm', 'gulp.cmd');
124124
if (await exists(globalGulp)) {
125-
gulpCommand = globalGulp;
125+
gulpCommand = '"' + globalGulp + '"';
126126
} else {
127127
gulpCommand = path.join('.', 'node_modules', '.bin', 'gulp.cmd');
128128
}

0 commit comments

Comments
 (0)