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

Move assets check later to actual hook process. #6

Merged
merged 4 commits into from
Jul 14, 2021

Conversation

chibibirdie
Copy link
Contributor

@chibibirdie chibibirdie commented Jun 29, 2021

This PR fixes an earlier fix that meant to check for asset keys before running the plugin against those assets. The issue with the earlier fix was that it was checking in the wrong location (before the asset was emitted) causing false negatives and therefore not running the plugin when it should have. This fix moves the check into the proper location at the hook level where the context is most up to date.

Screen Shot 2021-06-28 at 7 30 35 PM

@klimashkin klimashkin merged commit f28ef0e into klimashkin:master Jul 14, 2021
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.

2 participants