From 36f597809409a93a509303f0bc92e83f178f45bb Mon Sep 17 00:00:00 2001 From: otheus Date: Thu, 31 Aug 2017 21:21:52 +0000 Subject: [PATCH] Update gitlab_keys: list-keys failed to output anything --- lib/gitlab_keys.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb index 975ee3e3c..06d434e51 100644 --- a/lib/gitlab_keys.rb +++ b/lib/gitlab_keys.rb @@ -74,7 +74,7 @@ class GitlabKeys matches = /^command=\".+?\s+(.+?)\".+?(?:ssh|ecdsa)-.*?\s(.+)\s*.*\n*$/.match(line) keys << "#{matches[1]} #{matches[2]}\n" unless matches.nil? end - keys + puts keys end def list_key_ids -- GitLab