Skip to content

Commit

Permalink
fix: logs not showing on cli by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdevv committed Dec 22, 2023
1 parent c42baa1 commit e0ba541
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-meals-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'extractinator': patch
---

fix: logs not showing on cli by default
4 changes: 1 addition & 3 deletions src/exports/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ cli.command('extract <input> <output>')
input = resolve(input)
output = resolve(output)

if (options.quiet) {
shouldLog(false)
}
shouldLog(!options.quiet)

const extracted_files = await extractinator({
tsdocConfigPath: options['tsdoc-config'],
Expand Down

0 comments on commit e0ba541

Please sign in to comment.