Skip to content

Commit

Permalink
feat(libnpmpack): remove silent option
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 13, 2024
1 parent 6b6d0d0 commit 2f25b67
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions workspaces/libnpmpack/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ async function pack (spec = 'file:.', opts = {}) {

const manifest = await pacote.manifest(spec, opts)

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

const stdio = opts.foregroundScripts ? 'inherit' : 'pipe'

if (spec.type === 'directory' && !opts.ignoreScripts) {
Expand All @@ -29,7 +25,6 @@ async function pack (spec = 'file:.', opts = {}) {
path: spec.fetchSpec,
stdio,
pkg: manifest,
banner,
})
}

Expand All @@ -56,7 +51,6 @@ async function pack (spec = 'file:.', opts = {}) {
path: spec.fetchSpec,
stdio,
pkg: manifest,
banner,
env: {
npm_package_from: tarball.from,
npm_package_resolved: tarball.resolved,
Expand Down

0 comments on commit 2f25b67

Please sign in to comment.