Skip to content

Commit

Permalink
Fixed online help not opening in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hotmann committed Mar 21, 2017
1 parent b265002 commit db4f7bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ function parseArgs() {
process.exit(0);
} else if (argv.i) {
opn('https://github.com/jhotmann/node-rename-cli');
process.exit(0);
if (process.platform !== 'win32') {
process.exit(0);
}
} else if (argv.u) { // undo previous rename
index.undoRename();
} else { // proceed to index.js to do the rename
Expand Down

0 comments on commit db4f7bb

Please sign in to comment.