3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

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