services/repository/files/upload.go aktualisiert

This commit is contained in:
davrot 2025-03-09 17:29:13 +00:00
parent c1e5e3c834
commit f525c79f50

View file

@ -60,7 +60,7 @@ func UploadRepoFiles(ctx context.Context, repo *repo_model.Repository, doer *use
}
if len(opts.Files) != len(opts.FullPaths) {
return fmt.Errorf("The length of opts.Files and opts.FullPaths is not the same. This should never happen.")
return fmt.Errorf("the length of opts.Files and opts.FullPaths is not the same")
}
uploads := make([]*repo_model.Upload, len(opts.Files))