Skip to content

Commit

Permalink
style: Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 16, 2021
1 parent dce0ff1 commit 7663b19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/classes/PluginManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7663b19

Please sign in to comment.