it will allow to have it working when path contains space Fixes #68413
This commit is contained in:
parent
500376fd1c
commit
1acabe663a
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class FolderDetector {
|
|||
if (platform === 'win32' && await exists(path.join(rootPath!, 'node_modules', '.bin', 'gulp.cmd'))) {
|
||||
const globalGulp = path.join(process.env.APPDATA ? process.env.APPDATA : '', 'npm', 'gulp.cmd');
|
||||
if (await exists(globalGulp)) {
|
||||
gulpCommand = globalGulp;
|
||||
gulpCommand = '"' + globalGulp + '"';
|
||||
} else {
|
||||
gulpCommand = path.join('.', 'node_modules', '.bin', 'gulp.cmd');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue