Skip to content

Commit e0ba541

Browse files
committed
fix: logs not showing on cli by default
1 parent c42baa1 commit e0ba541

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.changeset/khaki-meals-warn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'extractinator': patch
3+
---
4+
5+
fix: logs not showing on cli by default

src/exports/cli.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ cli.command('extract <input> <output>')
2323
input = resolve(input)
2424
output = resolve(output)
2525

26-
if (options.quiet) {
27-
shouldLog(false)
28-
}
26+
shouldLog(!options.quiet)
2927

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

0 commit comments

Comments
 (0)