Fix very annoying gulp task error that always takes you to tasks output

Even when you click dismiss
This commit is contained in:
Alex Ross 2019-09-05 15:20:08 +02:00
parent ca4c1bf7a0
commit 7077b6b7f9

View file

@ -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);
}
});
}