-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: update to latest sass version #20984
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
Conversation
+ const result = sass.cli_pkg_main_0_(args); | ||
+ const originalThen = result.then$1$2$onError; | ||
+ let dynamicType; | ||
+ result.then$1$2$onError = (receiver, done, error, type) => dynamicType = type; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very janky implementation, but the problem it's trying to solve is that then$1$2$onError
requires an internal Dart type object to be passed in which we don't have access to. I hacked around it by monkey-patching the function, saving a reference and then passing it back in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@crisbeto needs rebase |
Bumps to the latest version of Sass and fixes up our custom patch so that it accounts for some changes in the published files.
Rebased. |
0b4bf33
to
62ec78a
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bumps to the latest version of Sass and fixes up our custom patch so that it accounts for some changes in the published files.