1
0

Use specific kobopatch-patches version for testdata

Just in case I ever change the layout.
This commit is contained in:
Patrick Gaskin
2020-05-08 20:09:58 -04:00
parent 5a20edc661
commit 5c43b8268f

View File

@@ -143,7 +143,7 @@ func main() {
}
func GetPatcher(version, lib string) (*patchlib.Patcher, error) {
resp, err := http.Get("https://github.com/geek1011/kobopatch-patches/raw/master/testdata/" + version + ".tar.xz")
resp, err := http.Get("https://github.com/geek1011/kobopatch-patches/raw/v60/testdata/" + version + ".tar.xz")
if err != nil {
return nil, fmt.Errorf("get kobopatch testdata for %#v: %w", version, err)
}