| ... | ... | @@ -94,9 +94,9 @@ export const acquireServerOwnership = Effect.fn("acquireServerOwnership")(functi |
| 94 | 94 | ) { |
| 95 | 95 | const stateDir = NodePath.dirname(statePath); |
| 96 | 96 | const crypto = yield* Crypto.Crypto; |
| 97 | | const ownerId = yield* crypto.randomUUIDv4.pipe( |
| 98 | | Effect.mapError((cause) => new ServerOwnershipError({ stateDir, cause })), |
| 99 | | ); |
| 97 | const ownerId = yield* crypto |
| 98 | .randomUUIDv4() |
| 99 | .pipe(Effect.mapError((cause) => new ServerOwnershipError({ stateDir, cause }))); |
| 100 | 100 | yield* Effect.acquireRelease( |
| 101 | 101 | Effect.try({ |
| 102 | 102 | try: () => { |