From 7ef73c8524b864244da027284d8bb3402f7ed8d3 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 23 Feb 2021 12:09:43 +0100 Subject: [PATCH] fix(@angular-devkit/build-angular): only show index and service worker status once Previously the `Index html generation complete` and `Service worker generation complete` where displayed multiple times when localization was enabled. --- .../angular_devkit/build_angular/src/browser/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/angular_devkit/build_angular/src/browser/index.ts b/packages/angular_devkit/build_angular/src/browser/index.ts index 3e6730bd9a15..f59b5a8f5222 100644 --- a/packages/angular_devkit/build_angular/src/browser/index.ts +++ b/packages/angular_devkit/build_angular/src/browser/index.ts @@ -709,9 +709,9 @@ export function buildWebpackBrowser( return { success: false, error: mapErrorToMessage(error) }; } - - spinner.succeed('Index html generation complete.'); } + + spinner.succeed('Index html generation complete.'); } if (options.serviceWorker) { @@ -730,9 +730,9 @@ export function buildWebpackBrowser( return { success: false, error: mapErrorToMessage(error) }; } - - spinner.succeed('Service worker generation complete.'); } + + spinner.succeed('Service worker generation complete.'); } }