Skip to content

Commit

Permalink
Should do the trick :)
Browse files Browse the repository at this point in the history
  • Loading branch information
m4r1vs authored Jan 14, 2018
1 parent d909f34 commit 91fdebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function Jarvis(options = {}) {

// check if port is valid
let portIsValid = true;
if (options.port && isNaN(parseInt(options.port))) {
if (isNaN(parseInt(options.port))) {
portIsValid = false;
console.error(`[JARVIS] your specified port ("${options.port}") is invalid, falling back to 1337, please check it again :)`);
};
Expand Down

0 comments on commit 91fdebe

Please sign in to comment.