提交 1acabe66 编写于 作者: A Aurélien Pupier 提交者: Alex Ross

Enclose global gulp path with quotes #68413 (#68418)

it will allow to have it working when path contains space

Fixes #68413 
上级 500376fd
......@@ -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');
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册