mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-03 01:18:32 +00:00
fixes
This commit is contained in:
@@ -69,12 +69,12 @@ class DefaultWorkspaceManager {
|
||||
try {
|
||||
const shouldMigrate = this.needsMigration();
|
||||
const newWorkspacePath = await this.initializeDefaultWorkspace(null, { migrateFromPreferences: shouldMigrate });
|
||||
const workspaceYmlPath = path.join(existingPath, 'workspace.yml');
|
||||
const workspaceYmlPath = path.join(newWorkspacePath, 'workspace.yml');
|
||||
if (!fs.existsSync(workspaceYmlPath)) {
|
||||
this.defaultWorkspacePath = null;
|
||||
} else {
|
||||
return {
|
||||
workspacePath: existingPath,
|
||||
workspacePath: newWorkspacePath,
|
||||
workspaceUid: this.getDefaultWorkspaceUid()
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user