mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 17:23:25 -05:00
Remove unnecessary awaits from extensions (#19571)
* Remove unnecessary awaits * fix ignore * revert eslintignore * try * increase size * Increase sql lint size
This commit is contained in:
@@ -164,7 +164,7 @@ export class DeployedModelService {
|
||||
|
||||
// If database exist verify the table schema
|
||||
//
|
||||
if ((await databases).find(x => x === table.databaseName)) {
|
||||
if (databases.find(x => x === table.databaseName)) {
|
||||
const query = queries.getConfigTableVerificationQuery(table);
|
||||
const result = await this._queryRunner.runWithDatabaseChange(connection, query, table.databaseName);
|
||||
return result !== undefined && result.rows.length > 0 && result.rows[0][0].displayValue === '1';
|
||||
|
||||
Reference in New Issue
Block a user