summaryrefslogtreecommitdiff
path: root/provider_base/lib/macros
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base/lib/macros')
-rw-r--r--provider_base/lib/macros/keys.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/provider_base/lib/macros/keys.rb b/provider_base/lib/macros/keys.rb
index 0d46acb5..ea4c3df2 100644
--- a/provider_base/lib/macros/keys.rb
+++ b/provider_base/lib/macros/keys.rb
@@ -15,8 +15,10 @@ module LeapCli
path = file_path(path_name)
if path.nil?
generate_tor_key(key_type)
+ file_path(path_name)
+ else
+ path
end
- return path
end
#
@@ -27,8 +29,10 @@ module LeapCli
path = file_path(path_name)
if path.nil?
generate_tor_key(key_type)
+ file_path(path_name)
+ else
+ path
end
- return path
end
#