提交 387c79f8 编写于 作者: D Dirk Baeumer

Revert "Adresses #57148: Space in workspaceFolder break task run"

This reverts commit e2dfc89b.
上级 a7a21f31
......@@ -704,7 +704,7 @@ export class TerminalTaskSystem implements ITaskSystem {
// If we have no args and the command is a string then use the
// command to stay backwards compatible with the old command line
// model.
if ((!args) && Types.isString(command)) {
if ((!args || args.length === 0) && Types.isString(command)) {
return command;
}
let basename = path.parse(shellExecutable).name.toLowerCase();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册