lib/vault-tools/config.rb in vault-tools-0.4.1 vs lib/vault-tools/config.rb in vault-tools-0.4.2

- old
+ new

@@ -141,10 +141,10 @@ # @param name [String] The name of the environment variable to fetch an # array for. # @raise [RuntimeError] Raised if the environment variable is not defined. # @return [Array] An array of values. def self.array(name) - env!(name).split(',') + env(name).to_s.split(',') end # An environment variable converted to a bool. # # @param name [String] The name of the environment variable to fetch a