From db4f7bbf68a370b46c949fa84cc5559e99b78199 Mon Sep 17 00:00:00 2001 From: Jordan Hotmann Date: Tue, 21 Mar 2017 12:48:45 -0600 Subject: [PATCH] Fixed online help not opening in Windows --- bin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin.js b/bin.js index 45d8226..5d08209 100644 --- a/bin.js +++ b/bin.js @@ -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