Skip to content

Commit 94b4212

Browse files
authored
fix: partials params for test (#6642)
1 parent 35d8b79 commit 94b4212

File tree

1 file changed

+4
-4
lines changed
  • packages/solutions/app-tools/src/compat

1 file changed

+4
-4
lines changed

packages/solutions/app-tools/src/compat/utils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ export function transformHookParams(hookRunnerName: string, params: any) {
6666
isMultiple: false,
6767
params: {
6868
partials: {
69-
top: params.partials.top.current,
70-
head: params.partials.head.current,
71-
body: params.partials.body.current,
69+
top: params[0].partials.top.current,
70+
head: params[0].partials.head.current,
71+
body: params[0].partials.body.current,
7272
},
73-
entrypoint: params.entrypoint,
73+
entrypoint: params[0].entrypoint,
7474
},
7575
};
7676
case 'jestConfig': {

0 commit comments

Comments
 (0)