Rename dbconfig file to workspace-databases.json (#1707)

This commit is contained in:
Shati Patel
2022-11-03 13:38:32 +00:00
committed by GitHub
parent 4fa5355239
commit 4e3b201054
3 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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();