diff --git a/src/reporterForClient.ts b/src/reporterForClient.ts index 86299caab9..aedb17d514 100644 --- a/src/reporterForClient.ts +++ b/src/reporterForClient.ts @@ -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) { diff --git a/test/index.ts b/test/index.ts index 0577f92e9c..8bb0bbb80b 100644 --- a/test/index.ts +++ b/test/index.ts @@ -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')}