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

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