diff --git a/packages/shared/src/relayClient.test.ts b/packages/shared/src/relayClient.test.ts index f1a1a133a1..c2b0687b76 100644 --- a/packages/shared/src/relayClient.test.ts +++ b/packages/shared/src/relayClient.test.ts @@ -80,11 +80,7 @@ const lockedFileInfo: FileSystem.File.Info = { blocks: Option.none(), }; -const fileSystemError = ( - tag: "AlreadyExists" | "NotFound", - method: string, - path: string, -) => +const fileSystemError = (tag: "AlreadyExists" | "NotFound", method: string, path: string) => PlatformError.systemError({ _tag: tag, module: "FileSystem", diff --git a/packages/shared/src/relayClient.ts b/packages/shared/src/relayClient.ts index c3b949878d..0e6f41f7a8 100644 --- a/packages/shared/src/relayClient.ts +++ b/packages/shared/src/relayClient.ts @@ -395,15 +395,13 @@ export const makeCloudflaredRelayClient = Effect.fn("cloudflared.make")(function schedule: INSTALL_LOCK_RETRY_SCHEDULE, while: (error) => error instanceof RelayClientInstallLockUnavailable, }), - Effect.catchTag( - "RelayClientInstallLockUnavailable", - () => - Effect.fail( - new RelayClientInstallError({ - reason: "install_locked", - message: "Another relay client installation is still in progress.", - }), - ), + Effect.catchTag("RelayClientInstallLockUnavailable", () => + Effect.fail( + new RelayClientInstallError({ + reason: "install_locked", + message: "Another relay client installation is still in progress.", + }), + ), ), ); });