mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 12:57:31 -05:00
Adds codespaces lookup via command for desktop
This commit is contained in:
@@ -32,7 +32,9 @@ async function handlePushError(repository: Repository, remote: Remote, refspec:
|
||||
}
|
||||
} catch { }
|
||||
} else {
|
||||
// TODO@eamodio Figure out how to get the codespace id when on the desktop
|
||||
// Call into the codespaces extension to get the codespace id
|
||||
const info = await commands.executeCommand<{ name: string } | undefined>('github.codespaces.getCurrentCodespace');
|
||||
codespace = info?.name;
|
||||
}
|
||||
|
||||
if (!codespace) {
|
||||
|
||||
Reference in New Issue
Block a user