diff options
author | elijah <elijah@riseup.net> | 2014-03-08 15:53:58 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-03-08 15:53:58 -0800 |
commit | 8ee7d8bf8ca1dc3a4c77a6b0896aff5fa3736ad8 (patch) | |
tree | 0f6a1f6902a88b33c54904e304c64d591d22c7ed | |
parent | 3c0ce709ac6321a90f6daababb9b053b3e0cb756 (diff) | |
download | leap_cli-8ee7d8bf8ca1dc3a4c77a6b0896aff5fa3736ad8.tar.gz leap_cli-8ee7d8bf8ca1dc3a4c77a6b0896aff5fa3736ad8.tar.bz2 |
fixed bug when platform.rb doesn't define reserved_usernames
-rw-r--r-- | lib/leap/platform.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/leap/platform.rb b/lib/leap/platform.rb index 7a28bbd..d97650b 100644 --- a/lib/leap/platform.rb +++ b/lib/leap/platform.rb @@ -17,6 +17,8 @@ module Leap attr_accessor :reserved_usernames def define(&block) + # some sanity defaults: + @reserved_usernames = [] self.instance_eval(&block) end |