diff --git a/src/internal/delivery/build/local/SpawnBuilder.ts b/src/internal/delivery/build/local/SpawnBuilder.ts index 5703b887..198d21f3 100644 --- a/src/internal/delivery/build/local/SpawnBuilder.ts +++ b/src/internal/delivery/build/local/SpawnBuilder.ts @@ -170,10 +170,7 @@ export class SpawnBuilder extends LocalBuilder implements LogInterpretation { if (br.error) { throw new Error("Build failure: " + br.error); } - const r = { - ...br, - }; - delete r.childProcess; + const { childProcess, ...r } = br; log.write("/--"); log.write(`Result: ${JSON.stringify(r, possibleAxiosObjectReplacer, 0)}`); log.write("\\--");