{"action":"created","issue":{"url":"https://api.github.com/repos/klei/grunt-injector/issues/32","labels_url":"https://api.github.com/repos/klei/grunt-injector/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/klei/grunt-injector/issues/32/comments","events_url":"https://api.github.com/repos/klei/grunt-injector/issues/32/events","html_url":"https://github.com/klei/grunt-injector/pull/32","id":103001254,"number":32,"title":"Check for minified file before making file relative","user":{"login":"nickcmaynard","id":1984684,"avatar_url":"https://avatars.githubusercontent.com/u/1984684?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcmaynard","html_url":"https://github.com/nickcmaynard","followers_url":"https://api.github.com/users/nickcmaynard/followers","following_url":"https://api.github.com/users/nickcmaynard/following{/other_user}","gists_url":"https://api.github.com/users/nickcmaynard/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcmaynard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcmaynard/subscriptions","organizations_url":"https://api.github.com/users/nickcmaynard/orgs","repos_url":"https://api.github.com/users/nickcmaynard/repos","events_url":"https://api.github.com/users/nickcmaynard/events{/privacy}","received_events_url":"https://api.github.com/users/nickcmaynard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-25T11:17:32Z","updated_at":"2015-10-19T06:28:48Z","closed_at":"2015-10-19T05:59:30Z","pull_request":{"url":"https://api.github.com/repos/klei/grunt-injector/pulls/32","html_url":"https://github.com/klei/grunt-injector/pull/32","diff_url":"https://github.com/klei/grunt-injector/pull/32.diff","patch_url":"https://github.com/klei/grunt-injector/pull/32.patch"},"body":"Currently, the check for a minified file (if `options.min` is true) is done on the resolved relative path (if `options.relative` is true).\r\nThis means that the existence check fails.\r\n\r\nThis PR switches the ordering so that the minified file check is done prior to the relative filepath resolution, fixing the issue."},"comment":{"url":"https://api.github.com/repos/klei/grunt-injector/issues/comments/149115564","html_url":"https://github.com/klei/grunt-injector/pull/32#issuecomment-149115564","issue_url":"https://api.github.com/repos/klei/grunt-injector/issues/32","id":149115564,"user":{"login":"odarriba","id":563391,"avatar_url":"https://avatars.githubusercontent.com/u/563391?v=3","gravatar_id":"","url":"https://api.github.com/users/odarriba","html_url":"https://github.com/odarriba","followers_url":"https://api.github.com/users/odarriba/followers","following_url":"https://api.github.com/users/odarriba/following{/other_user}","gists_url":"https://api.github.com/users/odarriba/gists{/gist_id}","starred_url":"https://api.github.com/users/odarriba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odarriba/subscriptions","organizations_url":"https://api.github.com/users/odarriba/orgs","repos_url":"https://api.github.com/users/odarriba/repos","events_url":"https://api.github.com/users/odarriba/events{/privacy}","received_events_url":"https://api.github.com/users/odarriba/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T06:28:48Z","updated_at":"2015-10-19T06:28:48Z","body":"Awesome grunt plugin! Thanks!"}}