Commit 5930a7d

Anton Golub <antongolub@antongolub.com>
2022-07-05 22:17:33
fix: avoid redundant `$.verbose` definition on CLI init (#475)
1 parent c73ccb4
Changed files (1)
src/cli.ts
@@ -27,7 +27,9 @@ import { randomId } from './util.js'
 await (async function main() {
   const globals = './globals.js'
   await import(globals)
-  $.verbose = !argv.quiet
+  if (argv.quiet) {
+    $.verbose = false
+  }
   if (typeof argv.shell === 'string') {
     $.shell = argv.shell
   }