Fix setting up git credential helper on Windows
This commit is contained in:
parent
38d465b1da
commit
ba028b9044
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ func isGitMissing(err error) bool {
|
|||
}
|
||||
|
||||
func shellQuote(s string) string {
|
||||
if strings.ContainsAny(s, " $") {
|
||||
if strings.ContainsAny(s, " $\\") {
|
||||
return "'" + s + "'"
|
||||
}
|
||||
return s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue