@@ -431,12 +431,12 @@ export default Task.extend({
431
431
const scripts = packageJson [ 'scripts' ] ;
432
432
if ( scripts [ 'build' ] && scripts [ 'build' ] !== 'ng build' && ! force ) {
433
433
throw new SilentError ( oneLine `
434
- Your package.json scripts needs to not contain a build script as it will be overwritten.
434
+ Your package.json scripts must not contain a build script as it will be overwritten.
435
435
` ) ;
436
436
}
437
437
if ( scripts [ 'start' ] && scripts [ 'start' ] !== 'ng serve' && ! force ) {
438
438
throw new SilentError ( oneLine `
439
- Your package.json scripts needs to not contain a start script as it will be overwritten.
439
+ Your package.json scripts must not contain a start script as it will be overwritten.
440
440
` ) ;
441
441
}
442
442
if ( scripts [ 'pree2e' ] && scripts [ 'prepree2e' ] !== 'npm start' && ! force ) {
@@ -447,18 +447,18 @@ export default Task.extend({
447
447
}
448
448
if ( scripts [ 'pree2e' ] && scripts [ 'pree2e' ] !== pree2eNpmScript && ! force ) {
449
449
throw new SilentError ( oneLine `
450
- Your package.json scripts needs to not contain a pree2e script as it will be
450
+ Your package.json scripts must not contain a pree2e script as it will be
451
451
overwritten.
452
452
` ) ;
453
453
}
454
454
if ( scripts [ 'e2e' ] && scripts [ 'e2e' ] !== 'ng e2e' && ! force ) {
455
455
throw new SilentError ( oneLine `
456
- Your package.json scripts needs to not contain a e2e script as it will be overwritten.
456
+ Your package.json scripts must not contain a e2e script as it will be overwritten.
457
457
` ) ;
458
458
}
459
459
if ( scripts [ 'test' ] && scripts [ 'test' ] !== 'ng test' && ! force ) {
460
460
throw new SilentError ( oneLine `
461
- Your package.json scripts needs to not contain a test script as it will be overwritten.
461
+ Your package.json scripts must not contain a test script as it will be overwritten.
462
462
` ) ;
463
463
}
464
464
0 commit comments