提交 185e7002 编写于 作者: A Alex Ross

Fix bad merge that caused reoccurance of 'Failed to create terminal for task'

Fixes #71311
上级 7887b674
......@@ -930,6 +930,9 @@ namespace CommandConfiguration {
function fromBase(this: void, config: BaseCommandConfiguationShape, context: ParseContext): Tasks.CommandConfiguration | undefined {
let name: Tasks.CommandString | undefined = ShellString.from(config.command);
if (name === undefined) {
return undefined;
}
let runtime: Tasks.RuntimeType;
if (Types.isString(config.type)) {
if (config.type === 'shell' || config.type === 'process') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册