Skip to content

Commit

Permalink
feat!: use a smaller note section
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Jan 6, 2025
1 parent 6492ca2 commit 1b05ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function runPackageLifecycle (pkg, stage, env, wd, opts, cb) {
// run package lifecycle scripts in the package root, or the nearest parent.
const cmd = env.npm_lifecycle_script

const note = `\n> ${pkg._id} ${stage} ${wd}\n> ${cmd}\n`
const note = `$ ${cmd}`
runCmd(note, cmd, pkg, env, stage, wd, opts, cb)
}

Expand Down Expand Up @@ -339,7 +339,7 @@ function runHookLifecycle (pkg, stage, env, wd, opts, cb) {
hookStat(opts.dir, stage, er => {
if (er) return cb()
const cmd = path.join(opts.dir, '.hooks', stage)
const note = `\n> ${pkg._id} ${stage} ${wd}\n> ${cmd}`
const note = `$ ${cmd}`
runCmd(note, cmd, pkg, env, stage, wd, opts, cb)
})
}
Expand Down

0 comments on commit 1b05ee8

Please sign in to comment.