File tree 1 file changed +2
-2
lines changed
packages/@angular/cli/tasks
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ export default Task.extend({
501
501
packageJson [ 'devDependencies' ] [ packageName ] = ourPackageJson [ 'dependencies' ] [ packageName ] ;
502
502
} ) ;
503
503
504
- return writeFile ( 'package.json' , JSON . stringify ( packageJson , null , 2 ) ) ;
504
+ return writeFile ( 'package.json' , JSON . stringify ( packageJson , null , 2 ) + '\n' ) ;
505
505
} )
506
506
. then ( ( ) => JSON . parse ( ts . sys . readFile ( tsConfigPath ) ) )
507
507
. then ( ( tsConfigJson : any ) => {
@@ -512,7 +512,7 @@ export default Task.extend({
512
512
'**/*.spec.ts'
513
513
] ;
514
514
}
515
- return writeFile ( tsConfigPath , JSON . stringify ( tsConfigJson , null , 2 ) ) ;
515
+ return writeFile ( tsConfigPath , JSON . stringify ( tsConfigJson , null , 2 ) + '\n' ) ;
516
516
} )
517
517
// Output the webpack.config.js.
518
518
. then ( ( ) => writeFile ( 'webpack.config.js' , webpackConfigStr ) )
You can’t perform that action at this time.
0 commit comments