{"action":"created","issue":{"url":"https://api.github.com/repos/luisfarzati/angulartics/issues/307","labels_url":"https://api.github.com/repos/luisfarzati/angulartics/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/luisfarzati/angulartics/issues/307/comments","events_url":"https://api.github.com/repos/luisfarzati/angulartics/issues/307/events","html_url":"https://github.com/luisfarzati/angulartics/pull/307","id":59480265,"number":307,"title":"Fix checking the correct setting for trackRelativePath","user":{"login":"0xR","id":6420016,"avatar_url":"https://avatars.githubusercontent.com/u/6420016?v=3","gravatar_id":"","url":"https://api.github.com/users/0xR","html_url":"https://github.com/0xR","followers_url":"https://api.github.com/users/0xR/followers","following_url":"https://api.github.com/users/0xR/following{/other_user}","gists_url":"https://api.github.com/users/0xR/gists{/gist_id}","starred_url":"https://api.github.com/users/0xR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xR/subscriptions","organizations_url":"https://api.github.com/users/0xR/orgs","repos_url":"https://api.github.com/users/0xR/repos","events_url":"https://api.github.com/users/0xR/events{/privacy}","received_events_url":"https://api.github.com/users/0xR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/luisfarzati/angulartics/labels/considering","name":"considering","color":"bfdadc"},{"url":"https://api.github.com/repos/luisfarzati/angulartics/labels/feedback-welcomed","name":"feedback-welcomed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T13:22:09Z","updated_at":"2015-03-22T12:01:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/luisfarzati/angulartics/pulls/307","html_url":"https://github.com/luisfarzati/angulartics/pull/307","diff_url":"https://github.com/luisfarzati/angulartics/pull/307.diff","patch_url":"https://github.com/luisfarzati/angulartics/pull/307.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/luisfarzati/angulartics/issues/comments/84592507","html_url":"https://github.com/luisfarzati/angulartics/pull/307#issuecomment-84592507","issue_url":"https://api.github.com/repos/luisfarzati/angulartics/issues/307","id":84592507,"user":{"login":"0xR","id":6420016,"avatar_url":"https://avatars.githubusercontent.com/u/6420016?v=3","gravatar_id":"","url":"https://api.github.com/users/0xR","html_url":"https://github.com/0xR","followers_url":"https://api.github.com/users/0xR/followers","following_url":"https://api.github.com/users/0xR/following{/other_user}","gists_url":"https://api.github.com/users/0xR/gists{/gist_id}","starred_url":"https://api.github.com/users/0xR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xR/subscriptions","organizations_url":"https://api.github.com/users/0xR/orgs","repos_url":"https://api.github.com/users/0xR/repos","events_url":"https://api.github.com/users/0xR/events{/privacy}","received_events_url":"https://api.github.com/users/0xR/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T12:01:08Z","updated_at":"2015-03-22T12:01:08Z","body":"It was working because the if statement evaluated to undefined which is falsy just like the default,  but overriding the default didn't change the behavior since the if statement looks at another value. "}}