Skip to content

Commit 0a70464

Browse files
committed
fix(@angular-devkit/build-angular): add newline on rebuilds
1 parent 92bbe61 commit 0a70464

File tree

1 file changed

+2
-2
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/utilities

1 file changed

+2
-2
lines changed

packages/angular_devkit/build_angular/src/angular-cli-files/utilities/stats.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ export function statsToString(json: any, statsConfig: any) {
4747
const unchangedChunkNumber = json.chunks.length - changedChunksStats.length;
4848

4949
if (unchangedChunkNumber > 0) {
50-
return rs(tags.stripIndents`
50+
return '\n' + rs(tags.stripIndents`
5151
Date: ${w(new Date().toISOString())} - Hash: ${w(json.hash)} - Time: ${w('' + json.time)}ms
5252
${unchangedChunkNumber} unchanged chunks
5353
${changedChunksStats.join('\n')}
5454
`);
5555
} else {
56-
return rs(tags.stripIndents`
56+
return '\n' + rs(tags.stripIndents`
5757
Date: ${w(new Date().toISOString())}
5858
Hash: ${w(json.hash)}
5959
Time: ${w('' + json.time)}ms

0 commit comments

Comments
 (0)