GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor(server): the container marker check recovers with orElseSucceed · amanthanvi/t3code@10582d7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/server/src/environment
    • ServerEnvironmentMachine.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/server/src/environment/ServerEnvironmentMachine.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/environment/ServerEnvironmentMachine.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ const detectDarwinMachineKind = Effect.fn("detectDarwinMachineKind")(function* (
247247

248248
const fileExists = Effect.fn("fileExists")(function* (path: string) {
249249
const fileSystem = yield* FileSystem.FileSystem;
250-
return yield* fileSystem.exists(path).pipe(Effect.catch(() => Effect.succeed(false)));
250+
return yield* fileSystem.exists(path).pipe(Effect.orElseSucceed(() => false));
251251
});
252252

253253
const detectLinuxMachineKind = Effect.fn("detectLinuxMachineKind")(function* () {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.