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

Correctly check for when sharp is unavailable #3848

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

pi0
Copy link
Contributor

@pi0 pi0 commented Nov 10, 2023

Find while investigating issues with nuxt/image#1102

module.exports defaults to an empty object {}, if no sources are available, we were not detecting it.

PS: Let me know if you prefer another style for changes.

@lovell lovell merged commit 75ef61a into lovell:gauge Nov 10, 2023
15 checks passed
@lovell
Copy link
Owner

lovell commented Nov 10, 2023

Great spot, thanks Pooya, the curse of "istanbul ignore next" strikes again ;)

@pi0 pi0 deleted the fix/module-detection branch November 10, 2023 15:41
@lovell lovell mentioned this pull request Nov 18, 2023
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