Skip to content

Commit

Permalink
set to udf after
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Jul 15, 2022
1 parent 1d6c894 commit 3bed084
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
watchingProblemMatcher.aboutToStart();
let delayer: Async.Delayer<any> | undefined = undefined;
[terminal, error] = this._terminalForTask ? [this._terminalForTask, undefined] : await this._createTerminal(task, resolver, workspaceFolder);
this._terminalForTask = undefined;

if (error) {
return Promise.reject(new Error((<TaskError>error).message));
Expand Down Expand Up @@ -964,6 +965,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
});
} else {
[terminal, error] = this._terminalForTask ? [this._terminalForTask, undefined] : await this._createTerminal(task, resolver, workspaceFolder);
this._terminalForTask = undefined;

if (error) {
return Promise.reject(new Error((<TaskError>error).message));
Expand Down

0 comments on commit 3bed084

Please sign in to comment.