File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -459,12 +459,12 @@ function buildCson(inName, outName) {
459459
460460function buildPList ( inName , outName ) {
461461 var yamlSchema = readGrammarFile ( inName , true ) ,
462- plistSource = plist . build ( yamlSchema ) ;
462+ plistSource = plist . build ( yamlSchema ) ,
463+ plistLines = plistSource . split ( '\n' ) ;
463464
464- plistSource = '<!-- AUTOGENERATED FROM ' + inName + ' -->\n' +
465- plistSource ;
465+ plistLines . splice ( 3 , 0 , ' <!-- AUTOGENERATED FROM ' + inName + ' -->' )
466466
467- fs . writeFileSync ( outName , plistSource + '\n' ) ;
467+ fs . writeFileSync ( outName , plistLines . join ( '\n' ) + '\n' ) ;
468468}
469469
470470
Original file line number Diff line number Diff line change 11{
22 "name" : " syntaxdev" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.1.2 " ,
44 "description" : " Unit testing framework for TextMate/Sublime/Atom syntaxes." ,
55 "main" : " index.js" ,
66 "author" : " Yury Selivanov <yury@magic.io>" ,
You can’t perform that action at this time.
0 commit comments