mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 04:10:20 +08:00
fix: improve code format (#2665)
* feat: replace io/ioutils pacakage with io/os package * fix: add missing error handling
This commit is contained in:
@ -70,6 +70,9 @@ func TestGetVersion(t *testing.T) {
|
||||
|
||||
testHash := plumbing.NewHash("f8bc87eb4e5ba3256424cf14aafe0549f812f1cf")
|
||||
cIter, err := r.Log(&git.LogOptions{From: testHash})
|
||||
if err != nil {
|
||||
t.Log(err)
|
||||
}
|
||||
|
||||
aheadCnt := 0
|
||||
releaseVersion := ""
|
||||
|
Reference in New Issue
Block a user