Skip to content

Commit 0d5473a

Browse files
committed
ff
1 parent f06cdfc commit 0d5473a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/commands/login.command.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,11 @@ import type { ParsedUrlQuery } from "node:querystring"
77
import * as url from "node:url"
88
import { Command } from "@effect/cli"
99
import { Config, Console, Data, Effect } from "effect"
10-
// BunRuntime might not be needed here if the command doesn't directly use it,
11-
// as index.ts handles the execution context.
12-
// import { BunRuntime } from "@effect/platform-bun";
1310
import { customAlphabet } from "nanoid"
1411

15-
// --- Constants ---
1612
const FILENAME = ".intentui"
1713
const DOMAIN_CONFIG = Config.succeed("https://blocks.intentui.com")
1814

19-
// --- Custom Errors ---
2015
class UserCancellationError extends Data.TaggedError("UserCancellationError")<{
2116
message: string
2217
}> {}
@@ -43,7 +38,6 @@ class ServerError extends Data.TaggedError("ServerError")<{
4338
cause?: unknown
4439
}> {}
4540

46-
// --- Effects ---
4741
const nanoid = customAlphabet("123456789QAZWSXEDCRFVTGBYHNUJMIKOLP", 8)
4842

4943
const generateNanoid = Effect.sync(() => nanoid())

0 commit comments

Comments
 (0)