{"action":"created","issue":{"url":"https://api.github.com/repos/Bash-it/bash-it/issues/777","repository_url":"https://api.github.com/repos/Bash-it/bash-it","labels_url":"https://api.github.com/repos/Bash-it/bash-it/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/Bash-it/bash-it/issues/777/comments","events_url":"https://api.github.com/repos/Bash-it/bash-it/issues/777/events","html_url":"https://github.com/Bash-it/bash-it/pull/777","id":169763980,"number":777,"title":"OS X fix for usage function.","user":{"login":"crahan","id":172588,"avatar_url":"https://avatars.githubusercontent.com/u/172588?v=3","gravatar_id":"","url":"https://api.github.com/users/crahan","html_url":"https://github.com/crahan","followers_url":"https://api.github.com/users/crahan/followers","following_url":"https://api.github.com/users/crahan/following{/other_user}","gists_url":"https://api.github.com/users/crahan/gists{/gist_id}","starred_url":"https://api.github.com/users/crahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crahan/subscriptions","organizations_url":"https://api.github.com/users/crahan/orgs","repos_url":"https://api.github.com/users/crahan/repos","events_url":"https://api.github.com/users/crahan/events{/privacy}","received_events_url":"https://api.github.com/users/crahan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-06T20:00:43Z","updated_at":"2016-08-08T06:59:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Bash-it/bash-it/pulls/777","html_url":"https://github.com/Bash-it/bash-it/pull/777","diff_url":"https://github.com/Bash-it/bash-it/pull/777.diff","patch_url":"https://github.com/Bash-it/bash-it/pull/777.patch"},"body":"The usage function appears to be broken on OS X. When executing the function without a depth parameter you got the following error:\r\n\r\n`>_ usage\r\ndu: option requires an argument -- d\r\nusage: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m | -g] [-x] [-I mask] [file ...]`\r\n\r\nThe if-statement appears to be executed in reverse. Adding the quotes to the condition fixes this. If this change needs to added to the Linux section of the function please let me know and I'll update the pull request."},"comment":{"url":"https://api.github.com/repos/Bash-it/bash-it/issues/comments/238156309","html_url":"https://github.com/Bash-it/bash-it/pull/777#issuecomment-238156309","issue_url":"https://api.github.com/repos/Bash-it/bash-it/issues/777","id":238156309,"user":{"login":"nwinkler","id":907063,"avatar_url":"https://avatars.githubusercontent.com/u/907063?v=3","gravatar_id":"","url":"https://api.github.com/users/nwinkler","html_url":"https://github.com/nwinkler","followers_url":"https://api.github.com/users/nwinkler/followers","following_url":"https://api.github.com/users/nwinkler/following{/other_user}","gists_url":"https://api.github.com/users/nwinkler/gists{/gist_id}","starred_url":"https://api.github.com/users/nwinkler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwinkler/subscriptions","organizations_url":"https://api.github.com/users/nwinkler/orgs","repos_url":"https://api.github.com/users/nwinkler/repos","events_url":"https://api.github.com/users/nwinkler/events{/privacy}","received_events_url":"https://api.github.com/users/nwinkler/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T06:59:43Z","updated_at":"2016-08-08T06:59:43Z","body":"Good catch, by the way! Let's get this merged once you've made the changes I've commented on."}}
{"actor":{"display_login":"nwinkler"}}