File tree 2 files changed +5
-5
lines changed
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) {
459
459
460
460
function buildPList ( inName , outName ) {
461
461
var yamlSchema = readGrammarFile ( inName , true ) ,
462
- plistSource = plist . build ( yamlSchema ) ;
462
+ plistSource = plist . build ( yamlSchema ) ,
463
+ plistLines = plistSource . split ( '\n' ) ;
463
464
464
- plistSource = '<!-- AUTOGENERATED FROM ' + inName + ' -->\n' +
465
- plistSource ;
465
+ plistLines . splice ( 3 , 0 , ' <!-- AUTOGENERATED FROM ' + inName + ' -->' )
466
466
467
- fs . writeFileSync ( outName , plistSource + '\n' ) ;
467
+ fs . writeFileSync ( outName , plistLines . join ( '\n' ) + '\n' ) ;
468
468
}
469
469
470
470
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " syntaxdev" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.2 " ,
4
4
"description" : " Unit testing framework for TextMate/Sublime/Atom syntaxes." ,
5
5
"main" : " index.js" ,
6
6
"author" : " Yury Selivanov <yury@magic.io>" ,
You can’t perform that action at this time.
0 commit comments