mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -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:
@@ -69,11 +69,11 @@ describe('NetCoreTool: Net core tests', function (): void {
|
||||
should(text.toString().trim()).equal('test');
|
||||
}
|
||||
finally {
|
||||
await fs.exists(dummyFile, async (existBool) => {
|
||||
if (existBool) {
|
||||
await fs.promises.unlink(dummyFile);
|
||||
}
|
||||
});
|
||||
try {
|
||||
await fs.promises.unlink(dummyFile);
|
||||
} catch (err) {
|
||||
console.warn(`Failed to clean up ${dummyFile}`);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -228,7 +228,7 @@ describe('Project: sqlproj content operations', function (): void {
|
||||
const project = await Project.openProject(projFilePath);
|
||||
|
||||
await project.changeTargetPlatform('invalidPlatform');
|
||||
await testUtils.shouldThrowSpecificError(async () => await project.getSystemDacpacUri(constants.masterDacpac), constants.invalidDataSchemaProvider);
|
||||
await testUtils.shouldThrowSpecificError(() => project.getSystemDacpacUri(constants.masterDacpac), constants.invalidDataSchemaProvider);
|
||||
});
|
||||
|
||||
it('Should add system database references correctly', async function (): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user