File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
test/pure-tests/databases Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import * as path from 'path';
33import { cloneDbConfig , DbConfig } from './db-config' ;
44import * as chokidar from 'chokidar' ;
55import { DisposableObject } from '../pure/disposable-object' ;
6+ import { validateDbConfig } from './db-config-validation' ;
67
78export class DbConfigStore extends DisposableObject {
89 private readonly configPath : string ;
@@ -33,8 +34,8 @@ export class DbConfigStore extends DisposableObject {
3334 return cloneDbConfig ( this . config ) ;
3435 }
3536
36- public getConfigPath ( ) : string {
37- return this . configPath ;
37+ public validateConfig ( ) : string [ ] {
38+ return validateDbConfig ( this . config ) ;
3839 }
3940
4041 private async loadConfig ( ) : Promise < void > {
Original file line number Diff line number Diff line change 1+ import { expect } from 'chai' ;
12import { validateDbConfig } from '../../../src/databases/db-config-validation' ;
23import { DbConfig } from '../../../src/databases/db-config' ;
34
You can’t perform that action at this time.
0 commit comments