Skip to content

Commit

Permalink
quiet output during tests for git commands
Browse files Browse the repository at this point in the history
Co-authored-by: lukeg <[email protected]>
  • Loading branch information
mame and luke-gru committed May 24, 2024
1 parent b11af89 commit c4d0d8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/typeprof/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def self.setup_testbed_repository(dir, github_repo_url, revision)
dir = File.join(__dir__, "../../testbed/", dir)
unless File.directory?(dir)
Dir.mkdir(dir)
system("git", "init", "-b", "master", chdir: dir, exception: true)
system("git", "init", "-q", "-b", "master", chdir: dir, exception: true)
system("git", "remote", "add", "origin", github_repo_url, chdir: dir, exception: true)
system("git", "fetch", "origin", revision, chdir: dir, exception: true)
system("git", "fetch", "-q", "origin", revision, chdir: dir, exception: true)
end
system("git", "reset", "--quiet", "--hard", revision, chdir: dir, exception: true)

Expand Down

0 comments on commit c4d0d8d

Please sign in to comment.