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 passing arguments on windows #27

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

gabyx
Copy link
Owner

@gabyx gabyx commented Jun 9, 2021

  • GetDefaultRunner alreads adds Git arguments on Windows, which is wrong.
  • Add test in step-002.sh.

- GetDefaultRunner added Git arguments
  already on Windows, which is wrong.
@gabyx gabyx changed the title Fix passing arguments on windows ⚓ Fix passing arguments on windows Jun 9, 2021
" ")}}
// is installed where the `sh` is in the PATH when executing this hook over git.
func GetDefaultRunner(hookPath string) cm.IExecutable {
return &shellWrappedExecutable{Cmd: hookPath}
Copy link
Owner Author

@gabyx gabyx Jun 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats the bugfix

@gabyx gabyx merged commit 22c8ef9 into main Jun 9, 2021
@gabyx gabyx deleted the bugfix/wrong-argument-passing-windows branch June 9, 2021 19:12
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.

1 participant