mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-30 16:50:30 -04:00
Merge from vscode 777931080477e28b7c27e8f7d4b0d69897945946 (#9220)
This commit is contained in:
@@ -690,6 +690,8 @@ export class RunActiveFileInTerminalAction extends Action {
|
||||
if (!instance) {
|
||||
return Promise.resolve(undefined);
|
||||
}
|
||||
await instance.processReady;
|
||||
|
||||
const editor = this.codeEditorService.getActiveCodeEditor();
|
||||
if (!editor || !editor.hasModel()) {
|
||||
return Promise.resolve(undefined);
|
||||
|
||||
Reference in New Issue
Block a user