From 604102e4a87f9bf57eb906a17d092df7c4790fb7 Mon Sep 17 00:00:00 2001 From: John Papa Date: Sat, 25 Feb 2017 09:35:58 -0500 Subject: [PATCH] rephrased warning message Rephrasing the warning message to read more fluently "needs to not contain" ---> "must not contain" --- packages/@angular/cli/tasks/eject.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/@angular/cli/tasks/eject.ts b/packages/@angular/cli/tasks/eject.ts index 06c6b9909418..bd56fdbf8bb4 100644 --- a/packages/@angular/cli/tasks/eject.ts +++ b/packages/@angular/cli/tasks/eject.ts @@ -431,28 +431,28 @@ export default Task.extend({ const scripts = packageJson['scripts']; if (scripts['build'] && scripts['build'] !== 'ng build' && !force) { throw new SilentError(oneLine` - Your package.json scripts needs to not contain a build script as it will be overwritten. + Your package.json scripts must not contain a build script as it will be overwritten. `); } if (scripts['start'] && scripts['start'] !== 'ng serve' && !force) { throw new SilentError(oneLine` - Your package.json scripts needs to not contain a start script as it will be overwritten. + Your package.json scripts must not contain a start script as it will be overwritten. `); } if (scripts['pree2e'] && scripts['pree2e'] !== pree2eNpmScript && !force) { throw new SilentError(oneLine` - Your package.json scripts needs to not contain a pree2e script as it will be + Your package.json scripts must not contain a pree2e script as it will be overwritten. `); } if (scripts['e2e'] && scripts['e2e'] !== 'ng e2e' && !force) { throw new SilentError(oneLine` - Your package.json scripts needs to not contain a e2e script as it will be overwritten. + Your package.json scripts must not contain a e2e script as it will be overwritten. `); } if (scripts['test'] && scripts['test'] !== 'ng test' && !force) { throw new SilentError(oneLine` - Your package.json scripts needs to not contain a test script as it will be overwritten. + Your package.json scripts must not contain a test script as it will be overwritten. `); }