Skip to content

Commit 0d2dbf4

Browse files
committed
Fixes an issue that caused a request for the password if only the sftp_key was provided.
1 parent fd658b5 commit 0d2dbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ class Config {
636636
'upload_untracked' => array()
637637
), $options);
638638

639-
if (!isset($options['pass'])) {
639+
if (!isset($options['pass']) and !isset($options['sftp_key'])) {
640640
$options['pass'] = self::promptPassword();
641641
}
642642

0 commit comments

Comments
 (0)