Skip to content

Commit 8b3bcf6

Browse files
committed
feat(libnpmpack): use silent boolean instead of log.level
BREAKING CHANGE: this drops support for the `log` property and the banner is shown using the silent option
1 parent 3de336e commit 8b3bcf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspaces/libnpmpack/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function pack (spec = 'file:.', opts = {}) {
1616

1717
// Default to true if no log options passed, set to false if we're in silent
1818
// mode
19-
const banner = !opts.log || (opts.log.level !== 'silent')
19+
const banner = !opts.silent
2020

2121
if (spec.type === 'directory') {
2222
// prepack

0 commit comments

Comments
 (0)