|
|
|
@ -424,7 +424,6 @@ export const switchToWorkspace = async (name: string) => { |
|
|
|
|
await plugin.fileProviders.workspace.setWorkspace(name) |
|
|
|
|
await plugin.setWorkspace({ name, isLocalhost: false }) |
|
|
|
|
const isGitRepo = await plugin.fileManager.isGitRepo() |
|
|
|
|
const hasGitSubmodule = await plugin.fileManager.hasGitSubmodules() |
|
|
|
|
if (isGitRepo) { |
|
|
|
|
const isActive = await plugin.call('manager', 'isActive', 'dgit') |
|
|
|
|
if (!isActive) await plugin.call('manager', 'activatePlugin', 'dgit') |
|
|
|
|