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:
parent
1e208e8c87
commit
8d8e419664
|
@ -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>
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue