summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-12-01 12:51:22 -0800
committerelijah <elijah@riseup.net>2014-12-01 12:51:22 -0800
commit2fa095f30ca2a02bf4024617b3fb3fecfab16a2c (patch)
tree3a6f60da7b45c1318b167fafe575171bfdbae918 /lib/leap_cli/commands
parent7ad6fae109aed39d5decb73640ed409160a9eed9 (diff)
better secrets.json compile when environment is pinned.
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r--lib/leap_cli/commands/compile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/compile.rb b/lib/leap_cli/commands/compile.rb
index 67d1bb6..78d7520 100644
--- a/lib/leap_cli/commands/compile.rb
+++ b/lib/leap_cli/commands/compile.rb
@@ -40,7 +40,7 @@ module LeapCli
manager.export_nodes(nodes)
# a "clean" export of secrets will also remove keys that are no longer used,
# but this should not be done if we are not examining all possible nodes.
- clean_export = LeapCli.leapfile.environment.nil? && nodes.nil?
+ clean_export = nodes.nil?
manager.export_secrets(clean_export)
end