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

Define Finch adapter conditionally to fix compile error #178

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

reisub
Copy link
Contributor

@reisub reisub commented Aug 3, 2021

If there is no Finch dependency error, the compile for the project using ExVCR fails.
Thanks to @ruslandoga for noticing and giving a suggestion for the fix!

As suggested, we define the adapter module conditionally and raise if the adapter is used without a Finch dependency loaded.

Ideally we should also figure out a way to test this case, but for now let's just release a new version to minimize any inconvenience - sorry for this oversight on my part!

@coveralls
Copy link

coveralls commented Aug 3, 2021

Coverage Status

Coverage remained the same at 88.764% when pulling 38cb324 on reisub:fix/finch-conditional-loading into b458a03 on parroty:master.

@parroty parroty merged commit d2de27b into parroty:master Aug 3, 2021
@parroty parroty mentioned this pull request Aug 3, 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.

3 participants