Skip to content

Commit

Permalink
Fix very annoying gulp task error that always takes you to tasks output
Browse files Browse the repository at this point in the history
Even when you click dismiss
  • Loading branch information
alexr00 committed Sep 5, 2019
1 parent ca4c1bf commit 7077b6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extensions/gulp/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ function getOutputChannel(): vscode.OutputChannel {

function showError() {
vscode.window.showWarningMessage(localize('gulpTaskDetectError', 'Problem finding gulp tasks. See the output for more information.'),
localize('gulpShowOutput', 'Go to output')).then(() => {
_channel.show(true);
localize('gulpShowOutput', 'Go to output')).then((choice) => {
if (choice !== undefined) {
_channel.show(true);
}
});
}

Expand Down

0 comments on commit 7077b6b

Please sign in to comment.