diff --git a/src/command/render/freeze.ts b/src/command/render/freeze.ts index 7dd03be700..1586e0299a 100644 --- a/src/command/render/freeze.ts +++ b/src/command/render/freeze.ts @@ -57,19 +57,16 @@ export function freezeExecuteResult( const innerResult = { ...result, includes: result.includes ? { ...result.includes } : undefined, - supporting: [...result.supporting], } as ExecuteResult; const resolveIncludes = ( name: "include-in-header" | "include-before-body" | "include-after-body", ) => { if (innerResult.includes) { if (innerResult.includes[name]) { - innerResult.includes[name] = [ - ...innerResult.includes[name]!.map((file) => - // Storing file content using LF line ending - format(Deno.readTextFileSync(file), LF) - ), - ]; + innerResult.includes[name] = innerResult.includes[name]!.map((file) => + // Storing file content using LF line ending + format(Deno.readTextFileSync(file), LF) + ); } } };