lib/knapsack_pro/config/env.rb in knapsack_pro-1.6.0 vs lib/knapsack_pro/config/env.rb in knapsack_pro-1.7.0

- old
+ new

@@ -185,9 +185,13 @@ def log_level LOG_LEVELS[ENV['KNAPSACK_PRO_LOG_LEVEL'].to_s.downcase] || ::Logger::DEBUG end + def log_dir + ENV['KNAPSACK_PRO_LOG_DIR'] + end + private def required_env(env_name) ENV[env_name] || raise("Missing environment variable #{env_name}") end