r107996 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107995‎ | r107996 | r107997 >
Date:08:42, 4 January 2012
Author:gwicke
Status:deferred
Tags:
Comment:
Add trailing newline in commandline parser wrapper
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/parse.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/parse.js
@@ -25,6 +25,8 @@
2626 parser.parse( input );
2727 var output = parser.getWikiDom();
2828 process.stdout.write( output );
 29+ // add a trailing newline for shell user's benefit
 30+ process.stdout.write( "\n" );
2931 process.exit(0);
3032 } );
3133

Status & tagging log