Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions apps/server/src/cloud/serviceLauncherClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,13 @@ it.layer(NodeServices.layer)("self-update launchers", (it) => {
);

it.effect.each([
{ name: "leading", searchPath: (missing: string) => `:${missing}`, moved: true },
{ name: "trailing", searchPath: (missing: string) => `${missing}:`, moved: true },
// The working-directory t3 is checked by its execute bits, which Windows hosts do not set.
...(HostProcess.Platform.defaultValue() === "win32"
? []
: [
{ name: "leading", searchPath: (missing: string) => `:${missing}`, moved: true },
{ name: "trailing", searchPath: (missing: string) => `${missing}:`, moved: true },
]),
{ name: "whole", searchPath: () => "", moved: false },
])("treats a $name empty PATH entry like the shell does", ({ searchPath, moved }) =>
Effect.gen(function* () {
Expand Down
Loading