def load_config path
      return {} unless File.exist? path
      YAML.load File.read path
    end
def load_config path
      return {} unless File.exist? path
      YAML.load File.read path
    end
rubocop:enable Metrics/MethodLength