{"action":"created","issue":{"url":"https://api.github.com/repos/adammockor/pug-inheritance/issues/3","repository_url":"https://api.github.com/repos/adammockor/pug-inheritance","labels_url":"https://api.github.com/repos/adammockor/pug-inheritance/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/adammockor/pug-inheritance/issues/3/comments","events_url":"https://api.github.com/repos/adammockor/pug-inheritance/issues/3/events","html_url":"https://github.com/adammockor/pug-inheritance/pull/3","id":152458614,"number":3,"title":"Added a few more test's and ignore pug files in node_modul folder","user":{"login":"pure180","id":3176553,"avatar_url":"https://avatars.githubusercontent.com/u/3176553?v=3","gravatar_id":"","url":"https://api.github.com/users/pure180","html_url":"https://github.com/pure180","followers_url":"https://api.github.com/users/pure180/followers","following_url":"https://api.github.com/users/pure180/following{/other_user}","gists_url":"https://api.github.com/users/pure180/gists{/gist_id}","starred_url":"https://api.github.com/users/pure180/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pure180/subscriptions","organizations_url":"https://api.github.com/users/pure180/orgs","repos_url":"https://api.github.com/users/pure180/repos","events_url":"https://api.github.com/users/pure180/events{/privacy}","received_events_url":"https://api.github.com/users/pure180/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-01T22:19:14Z","updated_at":"2016-05-02T09:10:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adammockor/pug-inheritance/pulls/3","html_url":"https://github.com/adammockor/pug-inheritance/pull/3","diff_url":"https://github.com/adammockor/pug-inheritance/pull/3.diff","patch_url":"https://github.com/adammockor/pug-inheritance/pull/3.patch"},"body":"Using the root `directory = '.'` ensures to resolve all files, even in in the `./node_modules` folder. This does not make sense, especially using the file extension `*.pug`. In this case all tests and later compiles will fail, because of error test files from dependent pug-packages which use the \".pug\" extension. For example: `./node_modules/pug-lexer/test/errors/*.pug`\r\n\r\nResolved this by adding a ignore list to package.json and iterate through the new object to compare it with the full filepath."},"comment":{"url":"https://api.github.com/repos/adammockor/pug-inheritance/issues/comments/216163766","html_url":"https://github.com/adammockor/pug-inheritance/pull/3#issuecomment-216163766","issue_url":"https://api.github.com/repos/adammockor/pug-inheritance/issues/3","id":216163766,"user":{"login":"adammockor","id":1824790,"avatar_url":"https://avatars.githubusercontent.com/u/1824790?v=3","gravatar_id":"","url":"https://api.github.com/users/adammockor","html_url":"https://github.com/adammockor","followers_url":"https://api.github.com/users/adammockor/followers","following_url":"https://api.github.com/users/adammockor/following{/other_user}","gists_url":"https://api.github.com/users/adammockor/gists{/gist_id}","starred_url":"https://api.github.com/users/adammockor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammockor/subscriptions","organizations_url":"https://api.github.com/users/adammockor/orgs","repos_url":"https://api.github.com/users/adammockor/repos","events_url":"https://api.github.com/users/adammockor/events{/privacy}","received_events_url":"https://api.github.com/users/adammockor/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T09:10:03Z","updated_at":"2016-05-02T09:10:03Z","body":"Nice, thank you :)"}}