style: Simplify

This commit is contained in:
Mariusz Nowak 2021-09-16 11:55:50 +02:00 committed by Mariusz Nowak
parent dce0ff1a89
commit 7663b19879

View File

@ -619,9 +619,7 @@ class PluginManager {
this.commandRunStartTime = Date.now();
if (resolveCliInput().commands[0] !== 'plugin') {
// first initialize hooks
for (const { hook } of this.getHooks(['initialize'])) {
await hook();
}
for (const { hook } of this.getHooks(['initialize'])) await hook();
}
let deferredBackendNotificationRequest;