class Travis::CLI::RepoCommand

def save_travis_config(file = travis_yaml)

def save_travis_config(file = travis_yaml)
  yaml = travis_config.to_yaml
  yaml.gsub! /^(\s+)('on'|true):/, "\\1on:"
  yaml.gsub! /\A---\s*\n/, ''
  File.write(file, yaml)
end