From 34ed31e3aa0cdc44dae3ae6537b51baa266e3437 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 2 Jun 2024 00:51:21 +0200 Subject: [PATCH] args --- cd/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cd/__init__.py b/cd/__init__.py index 28b8c3b..05ae1d1 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -87,8 +87,7 @@ def install_commands(path): def set_ssh(*arguments): - ssh_hosts = arguments[0] - ssh_key = projects.environment.get('CD', None) + ssh_key, ssh_hosts = arguments ssh_type = projects.environment.get('CD_SSH_TYPE', 'ed25519') # home = os.path.expanduser('~')