Skip to content

Commit 4e3b201

Browse files
authored
Rename dbconfig file to workspace-databases.json (#1707)
1 parent 4fa5355 commit 4e3b201

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

extensions/ql-vscode/src/databases/db-config-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class DbConfigStore extends DisposableObject {
1212

1313
public constructor(workspaceStoragePath: string) {
1414
super();
15-
this.configPath = path.join(workspaceStoragePath, 'dbconfig.json');
15+
this.configPath = path.join(workspaceStoragePath, 'workspace-databases.json');
1616

1717
this.config = this.createEmptyConfig();
1818
this.configWatcher = undefined;

extensions/ql-vscode/test/pure-tests/databases/data/dbconfig.json renamed to extensions/ql-vscode/test/pure-tests/databases/data/workspace-databases.json

File renamed without changes.

extensions/ql-vscode/test/pure-tests/databases/db-config-store.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('db config store', async () => {
1616
});
1717

1818
it('should create a new config if one does not exist', async () => {
19-
const configPath = path.join(tempWorkspaceStoragePath, 'dbconfig.json');
19+
const configPath = path.join(tempWorkspaceStoragePath, 'workspace-databases.json');
2020

2121
const configStore = new DbConfigStore(tempWorkspaceStoragePath);
2222
await configStore.initialize();

0 commit comments

Comments
 (0)