mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
don't create a terminal in these commands
This commit is contained in:
@@ -249,7 +249,7 @@ registerTerminalAction({
|
||||
}
|
||||
],
|
||||
run: async (c) => {
|
||||
const instance = await c.service.getActiveOrCreateInstance();
|
||||
const instance = await c.service.activeInstance;
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
@@ -270,7 +270,7 @@ registerTerminalAction({
|
||||
}
|
||||
],
|
||||
run: async (c) => {
|
||||
const instance = await c.service.getActiveOrCreateInstance();
|
||||
const instance = await c.service.activeInstance;
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user