From 8d8e419664f87d8fbba521b9e0e641473bde0c7a Mon Sep 17 00:00:00 2001 From: Michiel Kikkert Date: Sat, 11 Apr 2020 00:03:56 +0200 Subject: [PATCH] fix(core): correct "development mode" console message (#36571) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The message can be improved by removing the unneeded ‘the’ (x2). Before: Angular is running in the development mode. Call enableProdMode() to enable the production mode. After: Angular is running in development mode. Call enableProdMode() to enable production mode. Closes #36570 PR Close #36571 --- aio/content/guide/deployment.md | 2 +- packages/core/src/application_ref.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/deployment.md b/aio/content/guide/deployment.md index 10b1b39701..f95c64c781 100644 --- a/aio/content/guide/deployment.md +++ b/aio/content/guide/deployment.md @@ -304,7 +304,7 @@ In addition to build optimizations, Angular also has a runtime production mode. - Angular is running in the development mode. Call enableProdMode() to enable the production mode. + Angular is running in development mode. Call enableProdMode() to enable production mode. diff --git a/packages/core/src/application_ref.ts b/packages/core/src/application_ref.ts index 1149dc0ffc..05c94fb9c4 100644 --- a/packages/core/src/application_ref.ts +++ b/packages/core/src/application_ref.ts @@ -693,7 +693,7 @@ export class ApplicationRef { this._loadComponent(compRef); if (isDevMode()) { this._console.log( - `Angular is running in the development mode. Call enableProdMode() to enable the production mode.`); + `Angular is running in development mode. Call enableProdMode() to enable production mode.`); } return compRef; }