Skip to content

Commit de5986a

Browse files
guillep2kzeripath
authored andcommitted
Reduce quote usage to bypass bug in GIT_SSH_COMMAND (#7893)
1 parent bee1227 commit de5986a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/git_helper_for_declarative_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func withKeyFile(t *testing.T, keyname string, callback func(string)) {
3838

3939
//Setup ssh wrapper
4040
os.Setenv("GIT_SSH_COMMAND",
41-
"ssh -o \"UserKnownHostsFile=/dev/null\" -o \"StrictHostKeyChecking=no\" -o \"IdentitiesOnly=yes\" -i \""+keyFile+"\"")
41+
"ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i \""+keyFile+"\"")
4242
os.Setenv("GIT_SSH_VARIANT", "ssh")
4343

4444
callback(keyFile)

0 commit comments

Comments
 (0)