提交 7077b6b7 编写于 作者: A Alex Ross

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

Even when you click dismiss
上级 ca4c1bf7
...@@ -62,8 +62,10 @@ function getOutputChannel(): vscode.OutputChannel { ...@@ -62,8 +62,10 @@ function getOutputChannel(): vscode.OutputChannel {
function showError() { function showError() {
vscode.window.showWarningMessage(localize('gulpTaskDetectError', 'Problem finding gulp tasks. See the output for more information.'), vscode.window.showWarningMessage(localize('gulpTaskDetectError', 'Problem finding gulp tasks. See the output for more information.'),
localize('gulpShowOutput', 'Go to output')).then(() => { localize('gulpShowOutput', 'Go to output')).then((choice) => {
_channel.show(true); if (choice !== undefined) {
_channel.show(true);
}
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册