You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👍 I also encountered this. Unfortunately changing the code the way you suggest breaks the existing tests, which suggests that someone may be using the existing defaults logic.
I was trying to use it to swap out rake to always run a command before the generated command. Example:
SSHKit.config.command_map[:rake] = "rake stdout_logging"
execute :rake, "foo"
# expecting that to run
# => bundle exec rake stdout_logging foo
# but instead it runs
# => bundle exec /usr/bin/env rake foo
Activity
dgtized commentedon Dec 1, 2015
👍 I also encountered this. Unfortunately changing the code the way you suggest breaks the existing tests, which suggests that someone may be using the existing defaults logic.
I was trying to use it to swap out rake to always run a command before the generated command. Example:
mattbrictson commentedon Dec 30, 2015
It looks like this issue might be addressed in PR #311.
[-]CommandMap prefix ignores override[/-][+]Bug: CommandMap prefix ignores override[/+]