Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 07d0f6a

Browse files
author
Je
committed
refactor: cleanup
1 parent 6963566 commit 07d0f6a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ async function main() {
8080
}
8181

8282
// sets log level
83-
if (argOptions.l || argOptions.log) {
84-
log.setLevel(String(argOptions.l || argOptions.log))
83+
const l = argOptions.l || argOptions.log
84+
if (util.isNEString(l)) {
85+
log.setLevel(l)
8586
}
8687

8788
// proxy https://deno.land/x/aleph

0 commit comments

Comments
 (0)