@@ -322,24 +322,24 @@ Config.prototype.write = function() {
322
322
delete cfg . bundles ;
323
323
324
324
if ( hasProperties ( cfg ) )
325
- configContent += 'System.config(' + JSON . stringify ( cfg , null , 2 ) + ');\n\n' ;
325
+ configContent += 'System.config(' + JSON . stringify ( cfg , null , 2 ) + ');' + config . newLine + config . newLine ;
326
326
327
327
cfg . meta = meta ;
328
328
cfg . depCache = depCache ;
329
329
cfg . map = map ;
330
330
cfg . versions = versions ;
331
331
332
332
if ( hasProperties ( meta ) )
333
- configContent += 'System.config(' + JSON . stringify ( { meta : meta } , null , 2 ) + ');\n\n' ;
333
+ configContent += 'System.config(' + JSON . stringify ( { meta : meta } , null , 2 ) + ');' + config . newLine + config . newLine ;
334
334
335
335
if ( hasProperties ( depCache ) )
336
- configContent += 'System.config(' + JSON . stringify ( { depCache : depCache } , null , 2 ) + ');\n\n' ;
336
+ configContent += 'System.config(' + JSON . stringify ( { depCache : depCache } , null , 2 ) + ');' + config . newLine + config . newLine ;
337
337
338
338
if ( hasProperties ( map ) )
339
- configContent += 'System.config(' + JSON . stringify ( { map : map } , null , 2 ) + ');\n\n' ;
339
+ configContent += 'System.config(' + JSON . stringify ( { map : map } , null , 2 ) + ');' + config . newLine + config . newLine ;
340
340
341
341
if ( hasProperties ( versions ) )
342
- configContent += 'System.config(' + JSON . stringify ( { versions : versions } , null , 2 ) + ');\n\n' ;
342
+ configContent += 'System.config(' + JSON . stringify ( { versions : versions } , null , 2 ) + ');' + config . newLine + config . newLine ;
343
343
344
344
return asp ( fs . writeFile ) ( this . fileName_ , configContent ) ;
345
345
}
0 commit comments