fix(core): correct "development mode" console message (#36571)

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
This commit is contained in:
Michiel Kikkert 2020-04-11 00:03:56 +02:00 committed by Misko Hevery
parent 1e208e8c87
commit 8d8e419664
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ In addition to build optimizations, Angular also has a runtime production mode.
<code-example format="nocode">
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.
</code-example>

View File

@ -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;
}