Skip to content

Commit 19bdd0e

Browse files
committed
fix: call hooks for each format
closes #644
1 parent 42bff2f commit 19bdd0e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/config/options.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ export async function resolveUserConfig(
269269
...config,
270270
// only copy once
271271
copy: once ? config.copy : undefined,
272-
// don't register hooks repeatedly
273-
hooks: once ? config.hooks : undefined,
274272
// only execute once
275273
onSuccess: once ? config.onSuccess : undefined,
276274
format: normalizeFormat(fmt),

0 commit comments

Comments
 (0)