diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/config/provider.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/leap_cli/config/provider.rb b/lib/leap_cli/config/provider.rb index 06c49aa..3c03c5c 100644 --- a/lib/leap_cli/config/provider.rb +++ b/lib/leap_cli/config/provider.rb @@ -6,7 +6,11 @@ module LeapCli; module Config class Provider < Object attr_reader :environment def set_env(e) - @environment = e + if e == 'default' + @environment = nil + else + @environment = e + end end def provider self |