{"action":"created","issue":{"url":"https://api.github.com/repos/GoASTScanner/gas/issues/184","repository_url":"https://api.github.com/repos/GoASTScanner/gas","labels_url":"https://api.github.com/repos/GoASTScanner/gas/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/GoASTScanner/gas/issues/184/comments","events_url":"https://api.github.com/repos/GoASTScanner/gas/issues/184/events","html_url":"https://github.com/GoASTScanner/gas/issues/184","id":303235472,"number":184,"title":"Path-based package wildcards don't work","user":{"login":"jonmcclintock","id":17281870,"avatar_url":"https://avatars0.githubusercontent.com/u/17281870?v=4","gravatar_id":"","url":"https://api.github.com/users/jonmcclintock","html_url":"https://github.com/jonmcclintock","followers_url":"https://api.github.com/users/jonmcclintock/followers","following_url":"https://api.github.com/users/jonmcclintock/following{/other_user}","gists_url":"https://api.github.com/users/jonmcclintock/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmcclintock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmcclintock/subscriptions","organizations_url":"https://api.github.com/users/jonmcclintock/orgs","repos_url":"https://api.github.com/users/jonmcclintock/repos","events_url":"https://api.github.com/users/jonmcclintock/events{/privacy}","received_events_url":"https://api.github.com/users/jonmcclintock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-03-07T19:48:42Z","updated_at":"2018-04-21T00:45:51Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"With the recent refactor, path-based package wildcards don't work. Using a wildcard in the current directory works:\r\n\r\n```\r\n(env) jonm@jonm:~/go/src/github.com/GoASTScanner/gas$ gas ./... 2>&1 | head\r\n[gas] 2018/03/07 19:47:46 including rules: default\r\n[gas] 2018/03/07 19:47:46 excluding rules: default\r\n[gas] 2018/03/07 19:47:46 Searching directory: /home/jonm/go/src/github.com/GoASTScanner/gas\r\n[gas] 2018/03/07 19:47:46 Searching directory: /home/jonm/go/src/github.com/GoASTScanner/gas/cmd/gas\r\n[gas] 2018/03/07 19:47:46 Searching directory: /home/jonm/go/src/github.com/GoASTScanner/gas/cmd/gasutil\r\n[gas] 2018/03/07 19:47:46 Searching directory: /home/jonm/go/src/github.com/GoASTScanner/gas/cmd/tlsconfig\r\n[gas] 2018/03/07 19:47:46 Searching directory: /home/jonm/go/src/github.com/GoASTScanner/gas/output\r\n```\r\nBut using a real path doesn't:\r\n\r\n```(env) jonm@jonm:~/go/src/github.com/GoASTScanner/gas$ gas ~/go/src/github.com/GoASTScanner/gas/...\r\n[gas] 2018/03/07 19:48:29 including rules: default\r\n[gas] 2018/03/07 19:48:29 excluding rules: default\r\nwarning: \"/home/jonm/go/src/github.com/GoASTScanner/gas/...\" matched no packages\r\n[gas] 2018/03/07 19:48:29 no initial packages were loaded\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoASTScanner/gas/issues/comments/383254858","html_url":"https://github.com/GoASTScanner/gas/issues/184#issuecomment-383254858","issue_url":"https://api.github.com/repos/GoASTScanner/gas/issues/184","id":383254858,"user":{"login":"vtiwari-ring","id":33496494,"avatar_url":"https://avatars0.githubusercontent.com/u/33496494?v=4","gravatar_id":"","url":"https://api.github.com/users/vtiwari-ring","html_url":"https://github.com/vtiwari-ring","followers_url":"https://api.github.com/users/vtiwari-ring/followers","following_url":"https://api.github.com/users/vtiwari-ring/following{/other_user}","gists_url":"https://api.github.com/users/vtiwari-ring/gists{/gist_id}","starred_url":"https://api.github.com/users/vtiwari-ring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtiwari-ring/subscriptions","organizations_url":"https://api.github.com/users/vtiwari-ring/orgs","repos_url":"https://api.github.com/users/vtiwari-ring/repos","events_url":"https://api.github.com/users/vtiwari-ring/events{/privacy}","received_events_url":"https://api.github.com/users/vtiwari-ring/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T00:45:51Z","updated_at":"2018-04-21T00:45:51Z","author_association":"NONE","body":"@gcmurphy the 2nd command worked for me. Not the other two. Thanks anyway."}}
{"actor":{"display_login":"vtiwari-ring"}}