{"action":"created","issue":{"url":"https://api.github.com/repos/indexzero/node-portfinder/issues/23","repository_url":"https://api.github.com/repos/indexzero/node-portfinder","labels_url":"https://api.github.com/repos/indexzero/node-portfinder/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/indexzero/node-portfinder/issues/23/comments","events_url":"https://api.github.com/repos/indexzero/node-portfinder/issues/23/events","html_url":"https://github.com/indexzero/node-portfinder/pull/23","id":131397018,"number":23,"title":"Fix wrong duplicate removal","user":{"login":"Loghorn","id":2026182,"avatar_url":"https://avatars.githubusercontent.com/u/2026182?v=3","gravatar_id":"","url":"https://api.github.com/users/Loghorn","html_url":"https://github.com/Loghorn","followers_url":"https://api.github.com/users/Loghorn/followers","following_url":"https://api.github.com/users/Loghorn/following{/other_user}","gists_url":"https://api.github.com/users/Loghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/Loghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loghorn/subscriptions","organizations_url":"https://api.github.com/users/Loghorn/orgs","repos_url":"https://api.github.com/users/Loghorn/repos","events_url":"https://api.github.com/users/Loghorn/events{/privacy}","received_events_url":"https://api.github.com/users/Loghorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-04T16:16:04Z","updated_at":"2016-02-04T17:32:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/indexzero/node-portfinder/pulls/23","html_url":"https://github.com/indexzero/node-portfinder/pull/23","diff_url":"https://github.com/indexzero/node-portfinder/pull/23.diff","patch_url":"https://github.com/indexzero/node-portfinder/pull/23.patch"},"body":"This fixes the removal of `options.host` that is always happening because the loop starts from `0` instead of `1`. It also stops the check as soon as a duplicate is found."},"comment":{"url":"https://api.github.com/repos/indexzero/node-portfinder/issues/comments/179958378","html_url":"https://github.com/indexzero/node-portfinder/pull/23#issuecomment-179958378","issue_url":"https://api.github.com/repos/indexzero/node-portfinder/issues/23","id":179958378,"user":{"login":"Loghorn","id":2026182,"avatar_url":"https://avatars.githubusercontent.com/u/2026182?v=3","gravatar_id":"","url":"https://api.github.com/users/Loghorn","html_url":"https://github.com/Loghorn","followers_url":"https://api.github.com/users/Loghorn/followers","following_url":"https://api.github.com/users/Loghorn/following{/other_user}","gists_url":"https://api.github.com/users/Loghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/Loghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loghorn/subscriptions","organizations_url":"https://api.github.com/users/Loghorn/orgs","repos_url":"https://api.github.com/users/Loghorn/repos","events_url":"https://api.github.com/users/Loghorn/events{/privacy}","received_events_url":"https://api.github.com/users/Loghorn/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T17:32:03Z","updated_at":"2016-02-04T17:32:03Z","body":"you are welcome :smile: "}}