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] Console default engine #182

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

Andsbf
Copy link
Contributor

@Andsbf Andsbf commented Jun 25, 2024

The existing code would fallback to "pry" as it is the first element of the ENGINES constant. This commit makes it fallback to the engined described on the DEFAULT_ENGINE variable

PS: I also noticed that the "reload" method doesn't consider the --engine=something, here

but I'm not sure how to fix this one

The existing code would fallback to "pry" as it is the "first" element of the
ENGINES constant. This commit makes it fallback to the engined described on the
DEFAULT_ENGINE variable
@timriley timriley merged commit 3ce58de into hanami:main Oct 28, 2024
3 of 4 checks passed
@timriley
Copy link
Member

Thanks @Andsbf! I also filed #257 as a reminder to fix the reload issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants