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