提交 dd039c37 编写于 作者: D Dirk Baeumer

Fixes #19481: SuppressTaskName should always be true for local commands even if set to false.

上级 1c1f82e9
......@@ -674,13 +674,14 @@ namespace TaskDescription {
if (Types.isString(externalTask.showOutput)) {
task.showOutput = TaskSystem.ShowOutput.fromString(externalTask.showOutput);
}
if (externalTask.suppressTaskName !== void 0) {
task.suppressTaskName = !!externalTask.suppressTaskName;
} else if (externalTask.command !== void 0) {
if (externalTask.command !== void 0) {
// if the task has its own command then we suppress the
// task name by default.
task.suppressTaskName = true;
} else if (externalTask.suppressTaskName !== void 0) {
task.suppressTaskName = !!externalTask.suppressTaskName;
}
if (problemMatchers) {
task.problemMatchers = problemMatchers;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册