Skip to content

Commit 1c662d7

Browse files
chore(tailscale): drop parseTailscaleMagicDnsName, which nothing imports
#22589 removed the desktop re-export that was its only importer, so knip fails on main. Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 32d8f8f commit 1c662d7

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎packages/tailscale/src/tailscale.ts‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,6 @@ function normalizeMagicDnsName(status: TailscaleStatusJson): string | null {
168168
return normalized.length > 0 ? normalized : null;
169169
}
170170

171-
export const parseTailscaleMagicDnsName = (
172-
rawStatusJson: string,
173-
): Effect.Effect<string | null, TailscaleStatusParseError> =>
174-
decodeTailscaleStatusJson(rawStatusJson).pipe(
175-
Effect.mapError((cause) => new TailscaleStatusParseError({ cause })),
176-
Effect.map(normalizeMagicDnsName),
177-
);
178-
179171
export function isTailscaleIpv4Address(address: string): boolean {
180172
const parts = address.split(".");
181173
if (parts.length !== 4) {

0 commit comments

Comments
 (0)