mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-09 20:02:22 +01:00
1 parent
0cadfe1834
commit
c3bc031c1a
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user