File tree Expand file tree Collapse file tree
packages/@angular/cli/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ export default Task.extend({
501501 packageJson [ 'devDependencies' ] [ packageName ] = ourPackageJson [ 'dependencies' ] [ packageName ] ;
502502 } ) ;
503503
504- return writeFile ( 'package.json' , JSON . stringify ( packageJson , null , 2 ) ) ;
504+ return writeFile ( 'package.json' , JSON . stringify ( packageJson , null , 2 ) + '\n' ) ;
505505 } )
506506 . then ( ( ) => JSON . parse ( ts . sys . readFile ( tsConfigPath ) ) )
507507 . then ( ( tsConfigJson : any ) => {
@@ -512,7 +512,7 @@ export default Task.extend({
512512 '**/*.spec.ts'
513513 ] ;
514514 }
515- return writeFile ( tsConfigPath , JSON . stringify ( tsConfigJson , null , 2 ) ) ;
515+ return writeFile ( tsConfigPath , JSON . stringify ( tsConfigJson , null , 2 ) + '\n' ) ;
516516 } )
517517 // Output the webpack.config.js.
518518 . then ( ( ) => writeFile ( 'webpack.config.js' , webpackConfigStr ) )
You can’t perform that action at this time.
0 commit comments