Skip to content
Myr

Merge pull request #247 from jwarby/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Output version information using process.stdout.write instead of console.log

authored by Randall Koutnik · committed by Randall Koutnik · parents 14d77b4, b194805 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:index.js+1 added-1 removed
665 unmodified lines
666 this._version = str;667 flags = flags || '-V, --version';668 this.option(flags, 'output the version number');669 this.on('version', function(){670 console.log(str);670 process.stdout.write(str + '\n');671 process.exit(0);672 });673 return this;674};
221 unmodified lines