{"action":"created","issue":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/643","labels_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/643/comments","events_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/643/events","html_url":"https://github.com/hechoendrupal/DrupalConsole/issues/643","id":83800958,"number":643,"title":"[generate:*] Files are generated at root dir ","user":{"login":"jmolivas","id":366275,"avatar_url":"https://avatars.githubusercontent.com/u/366275?v=3","gravatar_id":"","url":"https://api.github.com/users/jmolivas","html_url":"https://github.com/jmolivas","followers_url":"https://api.github.com/users/jmolivas/followers","following_url":"https://api.github.com/users/jmolivas/following{/other_user}","gists_url":"https://api.github.com/users/jmolivas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmolivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmolivas/subscriptions","organizations_url":"https://api.github.com/users/jmolivas/orgs","repos_url":"https://api.github.com/users/jmolivas/repos","events_url":"https://api.github.com/users/jmolivas/events{/privacy}","received_events_url":"https://api.github.com/users/jmolivas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T02:41:57Z","updated_at":"2015-06-02T02:49:52Z","closed_at":null,"body":"Since Beta 11 update, when running the generators files are generated at drupal root directory instead of the proper directory."},"comment":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/comments/107779935","html_url":"https://github.com/hechoendrupal/DrupalConsole/issues/643#issuecomment-107779935","issue_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/643","id":107779935,"user":{"login":"jmolivas","id":366275,"avatar_url":"https://avatars.githubusercontent.com/u/366275?v=3","gravatar_id":"","url":"https://api.github.com/users/jmolivas","html_url":"https://github.com/jmolivas","followers_url":"https://api.github.com/users/jmolivas/followers","following_url":"https://api.github.com/users/jmolivas/following{/other_user}","gists_url":"https://api.github.com/users/jmolivas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmolivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmolivas/subscriptions","organizations_url":"https://api.github.com/users/jmolivas/orgs","repos_url":"https://api.github.com/users/jmolivas/repos","events_url":"https://api.github.com/users/jmolivas/events{/privacy}","received_events_url":"https://api.github.com/users/jmolivas/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T02:49:52Z","updated_at":"2015-06-02T02:49:52Z","body":"After some debug I found `drupal_get_path` function is not returning the module path when a new module is generated and cache has not been rebuild. https://github.com/hechoendrupal/DrupalConsole/blob/master/src/Generator/Generator.php#L98 is "}}