Skip to content

Commit

Permalink
Fix run active file when no editor is focused
Browse files Browse the repository at this point in the history
Fixes #53019
  • Loading branch information
Tyriar committed Jul 9, 2018
1 parent 0cadfe1 commit c3bc031
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export class RunActiveFileInTerminalAction extends Action {
if (!instance) {
return TPromise.as(void 0);
}
const editor = this.codeEditorService.getFocusedCodeEditor();
const editor = this.codeEditorService.getActiveCodeEditor();
if (!editor) {
return TPromise.as(void 0);
}
Expand Down

0 comments on commit c3bc031

Please sign in to comment.