mirror of
https://github.com/Microsoft/vscode
synced 2024-07-05 01:08:57 +00:00
it will allow to have it working when path contains space Fixes #68413
This commit is contained in:
parent
500376fd1c
commit
1acabe663a
|
@ -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 New Issue
Block a user