gitea-ci: cacher repro clonada
All checks were successful
repro-run Corre repro-run.json

This commit is contained in:
Cat /dev/Nulo 2023-01-26 16:54:57 -03:00
parent 938308dc7d
commit 4ee7c2439b

View file

@ -172,18 +172,12 @@ func (h webhook) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
rootfs := path.Join(dir, "rootfs")
src := path.Join(dir, "src")
if err = os.MkdirAll(rootfs, 0700); err != nil {
log.Println(err)
http.Error(w, "error", http.StatusInternalServerError)
return
}
if err = os.MkdirAll(src, 0700); err != nil {
log.Println(err)
http.Error(w, "error", http.StatusInternalServerError)
return
}
src := path.Join(cache, "src")
if err = os.MkdirAll(src, 0700); err != nil {
log.Println(err)
http.Error(w, "error", http.StatusInternalServerError)