lib/onboardbase.rb in onboardbase-1.0.7 vs lib/onboardbase.rb in onboardbase-1.0.8

- old
+ new

@@ -199,10 +199,14 @@ # Overried local secrets configSecrets = self.configuration["secrets"] unless configSecrets configSecrets = { "local" => {} } end - configSecrets["local"].keys.sort.each do |key| + localSecrets = configSecrets["local"] + unless localSecrets + localSecrets = {} + end + localSecrets.keys.sort.each do |key| ENV["#{key}"] = "#{configSecrets["local"][key]}" end ENV.to_hash end \ No newline at end of file