mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Adding folder name to error message when auto detecting tasks
This commit is contained in:
@@ -56,7 +56,7 @@ function isTestTask(name: string): boolean {
|
||||
let _channel: vscode.OutputChannel;
|
||||
function getOutputChannel(): vscode.OutputChannel {
|
||||
if (!_channel) {
|
||||
_channel = vscode.window.createOutputChannel('Gulp Auto Detection');
|
||||
_channel = vscode.window.createOutputChannel('Jake Auto Detection');
|
||||
}
|
||||
return _channel;
|
||||
}
|
||||
@@ -164,7 +164,7 @@ class FolderDetector {
|
||||
if (err.stdout) {
|
||||
channel.appendLine(err.stdout);
|
||||
}
|
||||
channel.appendLine(localize('execFailed', 'Auto detecting Jake failed with error: {0}', err.error ? err.error.toString() : 'unknown'));
|
||||
channel.appendLine(localize('execFailed', 'Auto detecting Jake for folder {0} failed with error: {1}', this.workspaceFolder.name, err.error ? err.error.toString() : 'unknown'));
|
||||
channel.show(true);
|
||||
return emptyTasks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user