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(ConfirmationHookChange): use Info.find_strategy/2..3 rather than a hard coded strategy name. #336

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

jimsynz
Copy link
Collaborator

@jimsynz jimsynz commented Jun 18, 2023

Changes:

  1. Extracted find_strategy/2..3 from a bunch of places across the codebase and moved into Info.
  2. Updated ConfirmationHookChange to use find_strategy/2..3.

Closes #334.

@jimsynz jimsynz self-assigned this Jun 18, 2023
…n a hard coded strategy name.

Changes:

1. Extracted `find_strategy/2..3` from a bunch of places across the codebase and moved into `Info`.
2. Updated `ConfirmationHookChange` to use `find_strategy/2..3`.

Closes #334.
@jimsynz jimsynz force-pushed the fix/confirmation-use-find-strategy branch from ee4f3e4 to d0cc6d7 Compare June 18, 2023 22:29
@jimsynz jimsynz merged commit 1d1be6e into main Jun 18, 2023
14 checks passed
@jimsynz jimsynz deleted the fix/confirmation-use-find-strategy branch June 18, 2023 22:33
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.

bug: ConfirmationHookChange only work if strategy name is :confirm
1 participant