{"action":"created","issue":{"url":"https://api.github.com/repos/tarunc/gulp-jsbeautifier/issues/23","repository_url":"https://api.github.com/repos/tarunc/gulp-jsbeautifier","labels_url":"https://api.github.com/repos/tarunc/gulp-jsbeautifier/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/tarunc/gulp-jsbeautifier/issues/23/comments","events_url":"https://api.github.com/repos/tarunc/gulp-jsbeautifier/issues/23/events","html_url":"https://github.com/tarunc/gulp-jsbeautifier/issues/23","id":137665032,"number":23,"title":"\"File type not specified for <any file>\"","user":{"login":"royts","id":2161545,"avatar_url":"https://avatars.githubusercontent.com/u/2161545?v=3","gravatar_id":"","url":"https://api.github.com/users/royts","html_url":"https://github.com/royts","followers_url":"https://api.github.com/users/royts/followers","following_url":"https://api.github.com/users/royts/following{/other_user}","gists_url":"https://api.github.com/users/royts/gists{/gist_id}","starred_url":"https://api.github.com/users/royts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royts/subscriptions","organizations_url":"https://api.github.com/users/royts/orgs","repos_url":"https://api.github.com/users/royts/repos","events_url":"https://api.github.com/users/royts/events{/privacy}","received_events_url":"https://api.github.com/users/royts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-01T19:34:05Z","updated_at":"2016-03-01T20:37:28Z","closed_at":"2016-03-01T20:37:28Z","body":"I'm trying to use `gulp-jsbeautifier` to beautify some .js files.\r\n\r\nI don't see any change in files, and when using reporter I'm getting the error: `File type not specified for ...` for all files.\r\n\r\nLooking into the code, I wrote the value of `file.basename` to console in the plugin code (`index.html`) right before checking what type is in (line 127: `_.endsWith(file.basename, ext);`.\r\n\r\nI see that `file.basename` is `undefined`.\r\n\r\nAny idea why?\r\n\r\n\r\n---\r\nsome info:\r\nmodule version: 2.0.0\r\nos: osx\r\n"},"comment":{"url":"https://api.github.com/repos/tarunc/gulp-jsbeautifier/issues/comments/190890603","html_url":"https://github.com/tarunc/gulp-jsbeautifier/issues/23#issuecomment-190890603","issue_url":"https://api.github.com/repos/tarunc/gulp-jsbeautifier/issues/23","id":190890603,"user":{"login":"royts","id":2161545,"avatar_url":"https://avatars.githubusercontent.com/u/2161545?v=3","gravatar_id":"","url":"https://api.github.com/users/royts","html_url":"https://github.com/royts","followers_url":"https://api.github.com/users/royts/followers","following_url":"https://api.github.com/users/royts/following{/other_user}","gists_url":"https://api.github.com/users/royts/gists{/gist_id}","starred_url":"https://api.github.com/users/royts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royts/subscriptions","organizations_url":"https://api.github.com/users/royts/orgs","repos_url":"https://api.github.com/users/royts/repos","events_url":"https://api.github.com/users/royts/events{/privacy}","received_events_url":"https://api.github.com/users/royts/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T20:37:27Z","updated_at":"2016-03-01T20:37:27Z","body":"@tarunc  - thank you. I downgraded to 1.0.2 and move to the old API, and it is working fine.\r\nI'll be happy to help the fix. LMK.\r\nClosing this.\r\n"}}