Skip to content

Commit 5ef49f9

Browse files
refactor(server): drop a redundant asVoid in boot service steps
AI-assisted; verified with the tests and tools listed above.
1 parent 28897c2 commit 5ef49f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/cloud/bootService.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ export const make = Effect.fn("cloud.boot_service.make")(function* (input: {
756756
entry.waitWhile === undefined
757757
? Effect.asVoid(command)
758758
: command.pipe(Effect.ignore, Effect.andThen(waitWhile(entry, entry.waitWhile)));
759-
return entry.optional === true ? run.pipe(Effect.ignore) : run.pipe(Effect.asVoid);
759+
return entry.optional === true ? run.pipe(Effect.ignore) : run;
760760
},
761761
{ discard: true },
762762
);

0 commit comments

Comments
 (0)