Skip to content

Commit

Permalink
feat(libnpmpack): use silent boolean instead of log.level
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this drops support for the `log` property and the
banner is shown using the silent option
  • Loading branch information
lukekarrys committed Feb 17, 2022
1 parent 3de336e commit 8b3bcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaces/libnpmpack/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function pack (spec = 'file:.', opts = {}) {

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

if (spec.type === 'directory') {
// prepack
Expand Down

0 comments on commit 8b3bcf6

Please sign in to comment.