Skip to content

Conversation

@webdesserts
Copy link

@webdesserts webdesserts commented Sep 1, 2016

This is a simple change that fixes #275. Because the importer returned is now actually a proxy function, we needed to pass the context of the proxy to the real importer as some importers (such as node-sass-import-once) rely on this.

@webdesserts
Copy link
Author

webdesserts commented Sep 1, 2016

I tried adding a failing test to this file, but kept getting Segmentation fault: 11. Also jshint apparently didn't like me referencing this in a lone function when the test passes.

@webdesserts
Copy link
Author

webdesserts commented Sep 1, 2016

I went ahead and pushed the broken tests so you can take a look. At least when it fails, it fails hard ^_^

jhnns added a commit that referenced this pull request Sep 7, 2016
This is a regression that was introduced with fd6be1f

#275 #277
@jhnns
Copy link
Member

jhnns commented Sep 7, 2016

Thx for pointing it out. I took the essential parts and created a new PR #281

@jhnns jhnns closed this Sep 7, 2016
@jhnns
Copy link
Member

jhnns commented Sep 7, 2016

The segmentation fault is because one of the assertions inside the custom importer did not work. Unfortunately, node-sass is not reporting these errors to node.

@jhnns jhnns mentioned this pull request Sep 7, 2016
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.

Error with node-sass-import-once

2 participants