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

importer: Only use done() callback method #30

Closed
wants to merge 1 commit into from

Conversation

saper
Copy link
Contributor

@saper saper commented Apr 15, 2015

In node-sass 3.x last "done" parameter is
always passed to the custom importer.

It should be not necessary to check if
done() has been provided.

Should-Solve: sass/node-sass#849

In node-sass 3.x last "done" parameter is
always passed to the custom importer.

It should be not necessary to check if
done() has been provided.

Should-Solve: sass/node-sass#849
@eddie-ruva
Copy link
Contributor

@saper I think it looks good, I would just also delete readAbstractFileSync and readFirstFileSync since they are not used anymore.

@chriseppstein
Copy link
Contributor

I've merged this to master (rebased). I added more tests around synchronous rendering to be extra sure :)

@chriseppstein
Copy link
Contributor

@eddie-ruva I removed the unused functions as well.

@chriseppstein
Copy link
Contributor

@saper Thank you for the patch.

@saper
Copy link
Contributor Author

saper commented Apr 20, 2015

🏁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants