fixing lint and formatting
This commit is contained in:
parent
86658513b1
commit
66a69bdec5
3 changed files with 10 additions and 9 deletions
|
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue