Skip to content

Commit

Permalink
shorthand call
Browse files Browse the repository at this point in the history
  • Loading branch information
VictoriqueMoe committed Mar 4, 2024
1 parent 0844c5f commit 17f11b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/manager/AvManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export class AvManager implements OnInit {
}

private doScan(resource: string): Promise<AvScanResult[]> {
const pArr = this.avEngines.map(engine => engine.scan(resource));
return Promise.all(pArr);
return Promise.all(this.avEngines.map(engine => engine.scan(resource)));
}
}

0 comments on commit 17f11b8

Please sign in to comment.