Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if importer returns empty content #63

Closed
GendelfLugansk opened this issue Sep 25, 2016 · 1 comment
Closed

Error if importer returns empty content #63

GendelfLugansk opened this issue Sep 25, 2016 · 1 comment
Labels

Comments

@GendelfLugansk
Copy link

This code leads to compilation error:

var sass = new Sass();
    sass.importer(function (request, done) {
        console.log(request);
        done({content: ''});
    });

While this works just fine:

var sass = new Sass();
    sass.importer(function (request, done) {
        console.log(request);
        done({content: '.some {}'});
    });

I think that empty string should work too

@rodneyrehm
Copy link
Member

fixed in v0.9.13

@rodneyrehm rodneyrehm added the bug label Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants