Skip to content

Commit bbbe878

Browse files
committed
No more auto-verbose logging
1 parent f6fcf0a commit bbbe878

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/code-link-cli/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ program
7272
}
7373
}
7474

75-
// Auto-enable debug in development unless overridden
76-
const isDev = process.env.NODE_ENV === "development"
77-
7875
if (options.logLevel) {
7976
const levelMap: Record<string, LogLevel> = {
8077
debug: LogLevel.DEBUG,
@@ -86,7 +83,7 @@ program
8683
if (level !== undefined) {
8784
setLogLevel(level)
8885
}
89-
} else if (options.verbose ?? isDev) {
86+
} else if (options.verbose) {
9087
setLogLevel(LogLevel.DEBUG)
9188
}
9289

0 commit comments

Comments
 (0)