Release 0.2.0 #121

Merged
Jef Roosens merged 125 commits from release-0.2.0 into main 2022-04-11 09:41:43 +02:00
Showing only changes of commit 3b15066329 - Show all commits

View file

@ -97,7 +97,7 @@ fn (mut app App) put_package(repo string) web.Result {
if !res.added {
os.rm(pkg_path) or { app.lerror("Failed to remove download '$pkg_path': $err.msg") }
app.lwarn("Duplicate package '$res.pkg.full_name()' in repo '$repo ($res.pkg.info.arch)'.")
app.lwarn("Duplicate package '$res.pkg.full_name()' in repo '$repo'.")
return app.json(http.Status.bad_request, new_response('File already exists.'))
}