feat: add cli command to validate active configs

This commit is contained in:
Dragory 2024-01-15 22:44:00 +00:00
parent e4b098b563
commit 61b5f3f0d3
No known key found for this signature in database
4 changed files with 55 additions and 0 deletions

View file

@ -15,3 +15,9 @@ export function connect() {
return connectionPromise;
}
export function disconnect() {
if (connectionPromise) {
connectionPromise.then(() => dataSource.destroy());
}
}