Format Tailscale Effect updates
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
87d37d6447
commit
49bfefaa48
2 files changed
+6
-2
No files matched your search
@@ -138,7 +138,11 @@ describe("tailscale", () => {
|
||||
});
|
||||
|
||||
return Effect.gen(function* () {
|
||||
const fiber = yield* readTailscaleStatus.pipe(Effect.provide(layer), Effect.result, Effect.fork);
|
||||
const fiber = yield* readTailscaleStatus.pipe(
|
||||
Effect.provide(layer),
|
||||
Effect.result,
|
||||
Effect.fork,
|
||||
);
|
||||
yield* Effect.yieldNow;
|
||||
yield* TestClock.adjust(Duration.sum(TAILSCALE_STATUS_TIMEOUT, Duration.millis(1)));
|
||||
const result = yield* Fiber.join(fiber);
|
||||
|
||||
@@ -329,7 +329,7 @@ export const resolveTailscaleHttpsBaseUrl = (
|
||||
Option.map(status.magicDnsName, (magicDnsName) =>
|
||||
buildTailscaleHttpsBaseUrl({
|
||||
magicDnsName,
|
||||
...(input.servePort === undefined ? {} : { servePort: input.servePort }),
|
||||
...(input.servePort === undefined ? {} : { servePort: input.servePort }),
|
||||
}),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user