Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Commit

Permalink
Print newline after version number (#14)
Browse files Browse the repository at this point in the history
When running `flow-node --version`, we should print a newline after the version number (like `node` does).
  • Loading branch information
yungsters authored and leebyron committed Oct 4, 2016
1 parent f1155d2 commit ebc74f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow-node
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ while (i < process.argv.length) {
process.stdout.write(usage);
process.exit(0);
} else if (arg === '-v' || arg === '--version') {
process.stdout.write('v' + require('./package').version);
process.stdout.write('v' + require('./package').version + '\n');
process.exit(0);
} else if (arg === '-e' || arg === '--eval') {
evalScript = process.argv[i++];
Expand Down

0 comments on commit ebc74f3

Please sign in to comment.