Add no-floating-promises for mssql extension (#16956)

This commit is contained in:
Charles Gagnon
2021-09-02 09:22:25 -07:00
committed by GitHub
parent f35576ae7f
commit 9516472f1b
22 changed files with 92 additions and 79 deletions

View File

@@ -88,9 +88,9 @@ export class CredentialStore {
this._client.start();
}
dispose() {
async dispose(): Promise<void> {
if (this._client) {
this._client.stop();
await this._client.stop();
}
}