Merge pull request #7416 from estenrye/fix_issue_7414

Fix invalid character issue on Windows.
This commit is contained in:
Adrien Delorme 2019-03-18 11:16:44 +01:00 committed by GitHub
commit e42be44d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ func parseSSHConfig(lines []string, value string) string {
out = line[index+len(value):]
}
}
return out
return strings.Trim(out, "\r\n")
}
func yesno(yn string) bool {