Skip to content

Commit 6b37c98

Browse files
committed
fix(update): await on onUpdate
1 parent 9597d2b commit 6b37c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/update.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export async function updateConfig(
6262
? defaultExport.$args[0]
6363
: defaultExport;
6464

65-
opts.onUpdate?.(configObj);
65+
await opts.onUpdate?.(configObj);
6666

6767
await writeFile(configFile, _module.generate().code);
6868

0 commit comments

Comments
 (0)