-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Async custom importer sass.NULL behavior different than sync importer #1296
Comments
@lingram-rmn I'm not certain, but is this a duplicate of issue #1291? Or possibly a manifestation of the same problem that the importer's node-sass is not equal to the node-sass that calls the importer? |
I don't think it's a duplicate, no. There's only one node-sass instance
This e-mail, including attachments, contains confidential and/or |
Whenever done() is called we should check for the sass.NULL value as well. Fixes sass#1296
I am not very happy about this fix, but can you check if #1308 works? It fixes it for the script above. |
Whenever done() is called we should check for the sass.NULL value as well. While here, allow calling done(null) to anticipate removal of the sass.NULL one day. Fixes sass#1296
Whenever done() is called we should check for the sass.NULL value as well. While here, allow calling done(null) to anticipate removal of the sass.NULL one day. Fixes sass#1296
Whenever done() is called we should check for the sass.NULL value as well. While here, allow calling done(null) to anticipate removal of the sass.NULL one day. Fixes sass#1296
@lingram-rmn we've confirmed this issue. It will be fixed in v3.4.3. |
Whenever done() is called we should check for the sass.NULL value as well. While here, allow calling done(null) to anticipate removal of the sass.NULL one day. Fixes sass#1296
Whenever done() is called we should check for the sass.NULL value as well. While here, allow calling done(null) to anticipate removal of the sass.NULL one day. Fixes sass#1296
👏 Thanks! I'm back in the office on Monday and will test the patch out then. 👏 |
Returning
sass.NULL
asynchronously does not result in the default libsass import behavior. It's quite possible that this will turn out to be an upstream bug in libsass, but I thought I would start here.Repro
Run the following in a context where node-sass is npm-installed:
Expected
Script exits without an error.
Observed
The equality assertion fails:
The text was updated successfully, but these errors were encountered: