Skip to content

Commit 1b05ee8

Browse files
committed
feat!: use a smaller note section
1 parent 6492ca2 commit 1b05ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function runPackageLifecycle (pkg, stage, env, wd, opts, cb) {
162162
// run package lifecycle scripts in the package root, or the nearest parent.
163163
const cmd = env.npm_lifecycle_script
164164

165-
const note = `\n> ${pkg._id} ${stage} ${wd}\n> ${cmd}\n`
165+
const note = `$ ${cmd}`
166166
runCmd(note, cmd, pkg, env, stage, wd, opts, cb)
167167
}
168168

@@ -339,7 +339,7 @@ function runHookLifecycle (pkg, stage, env, wd, opts, cb) {
339339
hookStat(opts.dir, stage, er => {
340340
if (er) return cb()
341341
const cmd = path.join(opts.dir, '.hooks', stage)
342-
const note = `\n> ${pkg._id} ${stage} ${wd}\n> ${cmd}`
342+
const note = `$ ${cmd}`
343343
runCmd(note, cmd, pkg, env, stage, wd, opts, cb)
344344
})
345345
}

0 commit comments

Comments
 (0)