{"action":"created","issue":{"url":"https://api.github.com/repos/rwjblue/git-repo-info/issues/19","repository_url":"https://api.github.com/repos/rwjblue/git-repo-info","labels_url":"https://api.github.com/repos/rwjblue/git-repo-info/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/rwjblue/git-repo-info/issues/19/comments","events_url":"https://api.github.com/repos/rwjblue/git-repo-info/issues/19/events","html_url":"https://github.com/rwjblue/git-repo-info/issues/19","id":156832355,"number":19,"title":"After 1.1.3, some builds fail","user":{"login":"chriskrycho","id":2403023,"avatar_url":"https://avatars.githubusercontent.com/u/2403023?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskrycho","html_url":"https://github.com/chriskrycho","followers_url":"https://api.github.com/users/chriskrycho/followers","following_url":"https://api.github.com/users/chriskrycho/following{/other_user}","gists_url":"https://api.github.com/users/chriskrycho/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskrycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskrycho/subscriptions","organizations_url":"https://api.github.com/users/chriskrycho/orgs","repos_url":"https://api.github.com/users/chriskrycho/repos","events_url":"https://api.github.com/users/chriskrycho/events{/privacy}","received_events_url":"https://api.github.com/users/chriskrycho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-25T19:35:24Z","updated_at":"2016-05-25T20:22:59Z","closed_at":null,"body":"This is a fun one. Since the 1.13 publication, builds started failing for us on our TeamCity server, but *only* there. We can't reproduce locally (on OS X 10.11.5 or Windows 10 Pro).\r\n\r\nThe call to `findRepo()` is returning `null`, and that error condition isn't being handled: it's just passing the result directly into `path.join`, [here](https://github.com/rwjblue/git-repo-info/blob/v1.1.3/index.js#L128). Curiously, 1.13 didn't actually change anything around this—but something about shipping it did break the TC build.\r\n\r\nOur TeamCity box is running Windows Server 2008 and Git [will add shortly].\r\n\r\nHere's the full stack trace:\r\n\r\n```plain\r\nTypeError: Path must be a string. Received null\r\n\tat assertPath (path.js:8:11)\r\n\tat Object.win32.resolve (path.js:130:5)\r\n\tat module.exports (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\git-repo-info\\index.js:128:16)\r\n\tat version (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\git-repo-version\\index.js:11:14)\r\n\tat Class.module.exports.config (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli-app-version\\index.js:10:46)\r\n\tat D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli\\lib\\models\\project.js:223:27\r\n\tat Array.reduce (native)\r\n\tat Project.getAddonsConfig (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli\\lib\\models\\project.js:221:22)\r\n\tat Project.config (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli\\lib\\models\\project.js:199:29)\r\n\tat Class.module.exports._monkeyPatch_EmberDeprecate (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli-deprecation-workflow\\index.js:62:41)\r\n\tat Class.module.exports.setupPreprocessorRegistry (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli-deprecation-workflow\\index.js:114:12)\r\n\tat D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli-preprocess-registry\\preprocessors.js:27:13\r\n\tat Array.forEach (native)\r\n\tat setupRegistryForEachAddon (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli-preprocess-registry\\preprocessors.js:25:10)\r\n\tat Object.module.exports.setupRegistry (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli-preprocess-registry\\preprocessors.js:46:3)\r\n\tat new EmberApp (D:\\BuildAgent\\work\\8afa5390471260e3\\node_modules\\ember-cli\\lib\\broccoli\\ember-app.js:108:5)\r\n```"},"comment":{"url":"https://api.github.com/repos/rwjblue/git-repo-info/issues/comments/221695583","html_url":"https://github.com/rwjblue/git-repo-info/issues/19#issuecomment-221695583","issue_url":"https://api.github.com/repos/rwjblue/git-repo-info/issues/19","id":221695583,"user":{"login":"drewnichols","id":1250487,"avatar_url":"https://avatars.githubusercontent.com/u/1250487?v=3","gravatar_id":"","url":"https://api.github.com/users/drewnichols","html_url":"https://github.com/drewnichols","followers_url":"https://api.github.com/users/drewnichols/followers","following_url":"https://api.github.com/users/drewnichols/following{/other_user}","gists_url":"https://api.github.com/users/drewnichols/gists{/gist_id}","starred_url":"https://api.github.com/users/drewnichols/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewnichols/subscriptions","organizations_url":"https://api.github.com/users/drewnichols/orgs","repos_url":"https://api.github.com/users/drewnichols/repos","events_url":"https://api.github.com/users/drewnichols/events{/privacy}","received_events_url":"https://api.github.com/users/drewnichols/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T20:22:59Z","updated_at":"2016-05-25T20:22:59Z","body":"removing git folder worked for me as well locally"}}
{"actor":{"display_login":"drewnichols"}}