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

fix for when getSideEffects loop gets stuck #40

Merged
1 commit merged into from
Jun 28, 2022
Merged

Conversation

ghost
Copy link

@ghost ghost commented Jun 28, 2022

When I tried updating tinyify to use this module, it got stuck in a loop for getSideEffects() with dir==='/'. This patch checks that the previous path isn't the same as the current path for an additional check so it doesn't get stuck in a loop.

@ghost ghost merged commit c76033c into master Jun 28, 2022
@ljharb ljharb deleted the side-effect-loop-stuck branch July 3, 2022 17:06
This pull request was closed.
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.

0 participants