{"action":"created","issue":{"url":"https://api.github.com/repos/shannonmoeller/require-glob/issues/4","repository_url":"https://api.github.com/repos/shannonmoeller/require-glob","labels_url":"https://api.github.com/repos/shannonmoeller/require-glob/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/shannonmoeller/require-glob/issues/4/comments","events_url":"https://api.github.com/repos/shannonmoeller/require-glob/issues/4/events","html_url":"https://github.com/shannonmoeller/require-glob/issues/4","id":173516783,"number":4,"title":"Relative paths do not work correctly","user":{"login":"cdhowie","id":354641,"avatar_url":"https://avatars.githubusercontent.com/u/354641?v=3","gravatar_id":"","url":"https://api.github.com/users/cdhowie","html_url":"https://github.com/cdhowie","followers_url":"https://api.github.com/users/cdhowie/followers","following_url":"https://api.github.com/users/cdhowie/following{/other_user}","gists_url":"https://api.github.com/users/cdhowie/gists{/gist_id}","starred_url":"https://api.github.com/users/cdhowie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdhowie/subscriptions","organizations_url":"https://api.github.com/users/cdhowie/orgs","repos_url":"https://api.github.com/users/cdhowie/repos","events_url":"https://api.github.com/users/cdhowie/events{/privacy}","received_events_url":"https://api.github.com/users/cdhowie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-26T18:39:40Z","updated_at":"2016-08-29T18:43:07Z","closed_at":null,"body":"The documentation for the `cwd` option states:\r\n\r\n> The current working directory in which to search. Defaults to the `__dirname` of the requiring module so relative paths work the same as Node.js's require.\r\n\r\nThis does not seem to be the case at all.  That is, if I do `requireGlob(\"./a/*.js\")` and `requireGlob(\"./a/*.js\", { cwd: __dirname })`, the results are different.  The former operates with `.` meaning the cwd of the process, while the latter operates with `.` meaning the directory containing the currently-executing module."},"comment":{"url":"https://api.github.com/repos/shannonmoeller/require-glob/issues/comments/243215829","html_url":"https://github.com/shannonmoeller/require-glob/issues/4#issuecomment-243215829","issue_url":"https://api.github.com/repos/shannonmoeller/require-glob/issues/4","id":243215829,"user":{"login":"shannonmoeller","id":155164,"avatar_url":"https://avatars.githubusercontent.com/u/155164?v=3","gravatar_id":"","url":"https://api.github.com/users/shannonmoeller","html_url":"https://github.com/shannonmoeller","followers_url":"https://api.github.com/users/shannonmoeller/followers","following_url":"https://api.github.com/users/shannonmoeller/following{/other_user}","gists_url":"https://api.github.com/users/shannonmoeller/gists{/gist_id}","starred_url":"https://api.github.com/users/shannonmoeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannonmoeller/subscriptions","organizations_url":"https://api.github.com/users/shannonmoeller/orgs","repos_url":"https://api.github.com/users/shannonmoeller/repos","events_url":"https://api.github.com/users/shannonmoeller/events{/privacy}","received_events_url":"https://api.github.com/users/shannonmoeller/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T18:43:07Z","updated_at":"2016-08-29T18:43:07Z","body":"No worries! Thanks."}}
{"actor":{"display_login":"shannonmoeller"}}