Rename dbconfig file to workspace-databases.json (#1707)
This commit is contained in:
@@ -12,7 +12,7 @@ export class DbConfigStore extends DisposableObject {
|
||||
|
||||
public constructor(workspaceStoragePath: string) {
|
||||
super();
|
||||
this.configPath = path.join(workspaceStoragePath, 'dbconfig.json');
|
||||
this.configPath = path.join(workspaceStoragePath, 'workspace-databases.json');
|
||||
|
||||
this.config = this.createEmptyConfig();
|
||||
this.configWatcher = undefined;
|
||||
|
||||
@@ -16,7 +16,7 @@ describe('db config store', async () => {
|
||||
});
|
||||
|
||||
it('should create a new config if one does not exist', async () => {
|
||||
const configPath = path.join(tempWorkspaceStoragePath, 'dbconfig.json');
|
||||
const configPath = path.join(tempWorkspaceStoragePath, 'workspace-databases.json');
|
||||
|
||||
const configStore = new DbConfigStore(tempWorkspaceStoragePath);
|
||||
await configStore.initialize();
|
||||
|
||||
Reference in New Issue
Block a user