This commit is contained in:
eric sciple
2020-03-18 23:34:02 -04:00
parent 85a425b582
commit 46054cf00b
3 changed files with 11 additions and 8 deletions

View File

@@ -130,7 +130,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
}
// Fix URL when using SSH
if (settings.sshKey && initialRemoteUrl != sshUrl) {
if (settings.sshKey && initialRemoteUrl !== sshUrl) {
await git.setRemoteUrl(sshUrl)
}