-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Show event of tour does not pass the hash of step
and previous
#371
Comments
Hello @hodossy, it appears the links you posted link to a bunch of old issues, not to lines in the code. I recently switched from using If that sounds reasonable, and you would be comfortable submitting a PR for the change, that would be awesome! |
@chuckcarpenter @jaredgalanis if either of you have some time to look into this, let me know as well. |
Hello @rwwagner90, I have fixed the links, sorry for that! I wanted to submit a PR, but I had trouble setting up the dev env on Windows (build command fails due to |
@hodossy can we please fix it with my suggestion above?
As for the |
Lodash basicaly reimplemented |
@hodossy I am just asking if we could please make the changes to fix things inside the |
It appears the only thing currently using |
When we switched our `drop` implementation away from lodash, we accidentally stopped passing things like `step` and `previous` down to subsequent trigger calls. This fixes the `drop` call by ensuring `arguments` is now an array. Fixes #371
When we switched our `drop` implementation away from lodash, we accidentally stopped passing things like `step` and `previous` down to subsequent trigger calls. This fixes the `drop` call by ensuring `arguments` is now an array. Fixes #371
I am using Shepherd 2.8.0. The problem is in
trigger
where thearguments
is passed todrop
, since arguments is not an Array, therefore always an empty list is returned and passed to theshow
handler asargs
.An easy fix would be to convert to array before passing to
drop
:The text was updated successfully, but these errors were encountered: