mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-05 14:36:10 -04:00
fix: always print a newline before summary
This commit is contained in:
@@ -223,7 +223,7 @@ export default function (
|
||||
|
||||
const summaryOutput$ = most.combine(
|
||||
(pkgsDiff) => {
|
||||
let msg = ''
|
||||
let msg = EOL
|
||||
for (const depType of ['prod', 'optional', 'dev']) {
|
||||
const diffs = R.values(pkgsDiff[depType])
|
||||
if (diffs.length) {
|
||||
|
||||
@@ -280,6 +280,7 @@ test('prints summary', t => {
|
||||
t.equal(output, stripIndents`
|
||||
${WARN} ${DEPRECATED} bar@2.0.0: This package was deprecated because bla bla bla
|
||||
|
||||
|
||||
${h1('dependencies:')}
|
||||
${ADD} bar ${versionColor('2.0.0')} ${DEPRECATED}
|
||||
${SUB} foo ${versionColor('0.1.0')}
|
||||
|
||||
Reference in New Issue
Block a user