lib/belugas/analyzer/engines_config_builder.rb
# The yaml gem turns a config file string into a hash, but engines expect
# the string. So we (for now) need to turn it into a string in that one
# scenario.
The yaml gem turns a config file string into a hash, but engines expect
the string. So we (for now) need to turn it into a string in that one
scenario.
The yaml gem turns a config file string into a hash but engines expect the string . So we ( for now ) need to turn it into a string in that one scenario .
def normalize_config_file(config)
        if config.fetch("config", {}).keys.size == 1 && config["config"].key?("file")
          config["config"] = config["config"]["file"]
        end
      end
def normalize_config_file ( config ) if config . fetch ( "config" , { } ) . keys . size == 1 && config [ "config" ] . key? ( "file" ) config [ "config" ] = config [ "config" ] [ "file" ] end end
The yaml gem turns a config file string into a hash, but engines expect
the string.
The yaml gem turns a config file string into a hash but engines expect the string .
config