{"action":"opened","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/209","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/209/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/209/events","html_url":"https://github.com/sindresorhus/ava/issues/209","id":116825126,"number":209,"title":"error thrown when files do not require ava","user":{"login":"GabiGrin","id":3727015,"avatar_url":"https://avatars.githubusercontent.com/u/3727015?v=3","gravatar_id":"","url":"https://api.github.com/users/GabiGrin","html_url":"https://github.com/GabiGrin","followers_url":"https://api.github.com/users/GabiGrin/followers","following_url":"https://api.github.com/users/GabiGrin/following{/other_user}","gists_url":"https://api.github.com/users/GabiGrin/gists{/gist_id}","starred_url":"https://api.github.com/users/GabiGrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabiGrin/subscriptions","organizations_url":"https://api.github.com/users/GabiGrin/orgs","repos_url":"https://api.github.com/users/GabiGrin/repos","events_url":"https://api.github.com/users/GabiGrin/events{/privacy}","received_events_url":"https://api.github.com/users/GabiGrin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T18:39:28Z","updated_at":"2015-11-13T18:39:28Z","closed_at":null,"body":"when running ava against empty files or files that do not require ava, this error is thrown on v.0.4.2.\r\nI tried with master, and it just hangs up.\r\ngetting the same error as in #198 (I opened a new issue because I'm not sure it's the same cause.):\r\n``` TypeError: Cannot read property 'stats' of undefined\r\n    at C:\\Users\\Frontend\\AppData\\Roaming\\nvm\\v0.12.5\\node_modules\\ava\\cli.js:139:16\r\n    at Array.map (native)\r\n    at exit (C:\\Users\\Frontend\\AppData\\Roaming\\nvm\\v0.12.5\\node_modules\\ava\\cli.js:138:22)\r\nFrom previous event:\r\n    at Object.<anonymous> (C:\\Users\\Frontend\\AppData\\Roaming\\nvm\\v0.12.5\\node_modules\\ava\\cli.js:216:18)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Function.Module.runMain (module.js:501:10)\r\n    at startup (node.js:129:16)\r\n    at node.js:814:3 ```\r\n\r\nIn master, I saw that if the file transpiled by babel does is not processed by ava and thus emits the needed events to end, the process will just hang up.\r\n\r\n\r\n\r\n"}}