提交 c719034c 编写于 作者: D dormesica

Fix #90415.

Wait for processReady event before runnigs file.
上级 186354f5
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册