From db0c958391085c1a54aceb6a5508d2a64c476200 Mon Sep 17 00:00:00 2001 From: Adrian Moos Date: Tue, 28 Aug 2018 14:57:27 +0200 Subject: [PATCH] style(@schematics/angular): fix typo and English in environment.ts --- .../application/files/src/environments/environment.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/schematics/angular/application/files/src/environments/environment.ts b/packages/schematics/angular/application/files/src/environments/environment.ts index 600fdaf8a00a..7b4f817adb75 100644 --- a/packages/schematics/angular/application/files/src/environments/environment.ts +++ b/packages/schematics/angular/application/files/src/environments/environment.ts @@ -1,5 +1,5 @@ // This file can be replaced during build by using the `fileReplacements` array. -// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`. +// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { @@ -7,9 +7,10 @@ export const environment = { }; /* - * In development mode, for easier debugging, you can ignore zone related error - * stack frames such as `zone.run`/`zoneDelegate.invokeTask` by importing the - * below file. Don't forget to comment it out in production mode - * because it will have a performance impact when errors are thrown + * For easier debugging in development mode, you can import the following file + * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. + * + * This import should be commented out in production mode because it will have a negative impact + * on performance if an error is thrown. */ // import 'zone.js/dist/zone-error'; // Included with Angular CLI.