fixing lint and formatting

This commit is contained in:
bchadwic 2022-04-05 21:35:38 -07:00 committed by Sam Coe
parent 86658513b1
commit 66a69bdec5
No known key found for this signature in database
GPG key ID: 8E322C20F811D086
3 changed files with 10 additions and 9 deletions

View file

@ -121,7 +121,7 @@ func setGitDir(t *testing.T, dir string) {
old_GIT_DIR := os.Getenv("GIT_DIR")
os.Setenv("GIT_DIR", dir)
t.Cleanup(func() {
git.UnsetRemoteResolution("upstream")
_ = git.UnsetRemoteResolution("upstream")
os.Setenv("GIT_DIR", old_GIT_DIR)
})
}