pull/32721/head
Lunny Xiao 2 months ago
parent 3b3eaec840
commit f2b1da5392
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

@ -140,7 +140,7 @@ func GetTreeList(ctx context.Context, repo *repo_model.Repository, treePath stri
// Check that the path given in opts.treePath is valid (not a git path)
cleanTreePath := CleanUploadFileName(treePath)
if cleanTreePath == "" && treePath != "" {
return nil, models.ErrFilenameInvalid{
return nil, ErrFilenameInvalid{
Path: treePath,
}
}

Loading…
Cancel
Save