mirror of https://github.com/knative/func.git
fix: correct error handling in filesystem tests (#1226)
This commit is contained in:
parent
58a6d07fe6
commit
87d162b5e5
|
@ -231,7 +231,7 @@ func initGitFS(t *testing.T) Filesystem {
|
||||||
|
|
||||||
result, err := filesystemFromRepo(uri)
|
result, err := filesystemFromRepo(uri)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(t)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue