未验证 提交 d793ae61 编写于 作者: D Daniel Imms 提交者: GitHub

Merge pull request #90847 from dormesica/Fix-#90415

Fix run active file in terminal not wrapping with quotes
......@@ -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.
先完成此消息的编辑!
想要评论请 注册