mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 01:32:34 -05:00
Fix all await-promise tslint errors (#7530)
* Fix all await-promise tslint errors * Remove unnecessary await
This commit is contained in:
@@ -134,7 +134,7 @@ export class CommandLineWorkbenchContribution implements IWorkbenchContribution,
|
||||
// we want to connect the given profile to to it.
|
||||
// If more than one file was passed, only show the connection dialog error on one of them.
|
||||
if (args._ && args._.length > 0) {
|
||||
await args._.forEach((f, i) => this.processFile(URI.file(f).toString(), profile, i === 0));
|
||||
await Promise.all(args._.map((f, i) => this.processFile(URI.file(f).toString(), profile, i === 0)));
|
||||
}
|
||||
else {
|
||||
// Default to showing new query
|
||||
|
||||
Reference in New Issue
Block a user