Skip to content

Commit

Permalink
Merge pull request #146 from bpasero/output-nofocus
Browse files Browse the repository at this point in the history
preserve focus when showing output channel
  • Loading branch information
dbaeumer authored Oct 14, 2016
2 parents 3b373eb + 3af080d commit 89ed341
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eslint/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export function activate(context: ExtensionContext) {
}
if (!state.workspaces[workspace.rootPath]) {
state.workspaces[workspace.rootPath] = true;
client.outputChannel.show();
client.outputChannel.show(true);
context.globalState.update(key, state);
}
} else {
Expand All @@ -202,17 +202,17 @@ export function activate(context: ExtensionContext) {
].join('\n'));
if (!state.global) {
state.global = true;
client.outputChannel.show();
client.outputChannel.show(true);
context.globalState.update(key, state);
}
}
} else {
client.error('Server initialization failed.', error);
client.outputChannel.show();
client.outputChannel.show(true);
}
} else {
client.error('Server initialization failed.', error);
client.outputChannel.show();
client.outputChannel.show(true);
}
return false;
},
Expand Down

0 comments on commit 89ed341

Please sign in to comment.