Method: CongressForms::Repo#update!

Defined in:
lib/congress_forms/repo.rb

#update!Object



42
43
44
45
46
47
48
49
50
# File 'lib/congress_forms/repo.rb', line 42

def update!
  system(
    "git",
    "-C", location.to_s,
    "pull",
    "--quiet",
    "--ff-only"
  ) or raise Error, "Error updating git repo at #{location}"
end