lib/flapjack/cli/purge.rb in flapjack-1.3.0 vs lib/flapjack/cli/purge.rb in flapjack-1.4.0rc1

- old
+ new

@@ -11,9 +11,14 @@ def initialize(global_options, options) @global_options = global_options @options = options + if @global_options[:'force-utf8'] + Encoding.default_external = 'UTF-8' + Encoding.default_internal = 'UTF-8' + end + config = Flapjack::Configuration.new config.load(global_options[:config]) @config_env = config.all if @config_env.nil? || @config_env.empty?