Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #435 from dwcares/master
Browse files Browse the repository at this point in the history
Remove integer port requirement for Facebook
  • Loading branch information
anonrig authored Oct 12, 2016
2 parents 1e4af2a + 6cd4520 commit 790d0d5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,6 @@ function Facebookbot(configuration) {
if (!port) {
throw new Error('Cannot start webserver without a port');
}
if (isNaN(port)) {
throw new Error('Specified port is not a valid number');
}

var static_dir = __dirname + '/public';

Expand Down

0 comments on commit 790d0d5

Please sign in to comment.