mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
style: Simplify
This commit is contained in:
parent
dce0ff1a89
commit
7663b19879
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user