Fix a bug, that caused the app to crash if ssh passphrase is not set.
This commit is contained in:
parent
586e86052b
commit
4034050ce0
3 changed files with 3 additions and 3 deletions
|
|
@ -142,7 +142,7 @@ class PasswordStore {
|
|||
gitCredential = GitCredential(
|
||||
credential: GitCredential.Credential.ssh(
|
||||
userName: Defaults[.gitRepositoryUsername]!,
|
||||
password: Utils.getPasswordFromKeychain(name: "gitRepositorySSHPrivateKeyPassphrase")!,
|
||||
password: Utils.getPasswordFromKeychain(name: "gitRepositorySSHPrivateKeyPassphrase") ?? "",
|
||||
publicKeyFile: Globals.sshPublicKeyURL,
|
||||
privateKeyFile: Globals.sshPrivateKeyURL,
|
||||
passwordNotSetCallback: nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue