Skip to content

Commit 9841f18

Browse files
committed
🩹 [cli/build] fix fileTask not found issue
1 parent 1d84dc1 commit 9841f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/build/shared/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const run = async (
145145
cpLib('index.ts'),
146146
cpLib('assets/style'),
147147
cpLib('package.json', '', 'file'),
148-
...fileTask?.(rename,cp,cpLib)
148+
...(fileTask ? fileTask(rename, cp, cpLib) : [])
149149
]);
150150

151151
await renameTypes();

0 commit comments

Comments
 (0)