Skip to content

Commit 7e30a54

Browse files
committed
[perf] no cloneDeep
1 parent cd70b9d commit 7e30a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command/render/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const computeProjectRenderConfig = async (
144144

145145
// force execution for any incremental files (unless options.useFreezer is set)
146146
let alwaysExecuteFiles = incremental && !inputs.options.useFreezer
147-
? ld.cloneDeep(inputs.files) as string[]
147+
? [...(inputs.files!)]
148148
: undefined;
149149

150150
// file normaliation

0 commit comments

Comments
 (0)