lib/cc/cli/runner.rb in codeclimate-0.0.5 vs lib/cc/cli/runner.rb in codeclimate-0.0.6

- old
+ new

@@ -1,7 +1,8 @@ require "active_support" require "active_support/core_ext" +require "safe_yaml" module CC module CLI class Runner @@ -14,9 +15,11 @@ $stderr.puts("backtrace: #{ex.backtrace.join("\n\t")}") end end def initialize(args) + SafeYAML::OPTIONS[:default_mode] = :safe + @args = args end def run if command_class