{"action":"opened","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/997","labels_url":"https://api.github.com/repos/sass/node-sass/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/997/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/997/events","html_url":"https://github.com/sass/node-sass/issues/997","id":87090397,"number":997,"title":"Synchronous custom importer not providing done","user":{"login":"DominicBarnard","id":7268740,"avatar_url":"https://avatars.githubusercontent.com/u/7268740?v=3","gravatar_id":"","url":"https://api.github.com/users/DominicBarnard","html_url":"https://github.com/DominicBarnard","followers_url":"https://api.github.com/users/DominicBarnard/followers","following_url":"https://api.github.com/users/DominicBarnard/following{/other_user}","gists_url":"https://api.github.com/users/DominicBarnard/gists{/gist_id}","starred_url":"https://api.github.com/users/DominicBarnard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominicBarnard/subscriptions","organizations_url":"https://api.github.com/users/DominicBarnard/orgs","repos_url":"https://api.github.com/users/DominicBarnard/repos","events_url":"https://api.github.com/users/DominicBarnard/events{/privacy}","received_events_url":"https://api.github.com/users/DominicBarnard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-10T20:09:57Z","updated_at":"2015-06-10T20:09:57Z","closed_at":null,"body":"As I understand from the docs, a custom importer should be able to handle both `render` and `renderSync` by calling `done()` asynchronously.  So a single importer can load files with the async `readFile()` and be handled correctly by both `render` and `renderSync`.\r\n\r\nIf this is correct then I'm seeing a bug as when I run the following code, `done` is showing up as `undefined`.  This is what I believe is causing errors in the current implementation of [eyeglass](https://github.com/sass-eyeglass/eyeglass) when run with `renderSync` which relies on calling `done`.  \r\n\r\n ```js\r\nsass.renderSync({\r\n    file: 'sass/test.scss',\r\n    importer: function (uri, prev, done) {\r\n        console.log(done); \\\\ logs undefined\r\n    }\r\n}, function(err, result) {\r\n    console.log('successfully rendered');\r\n});\r\n```"}}