Skip to content

Commit 3064594

Browse files
committed
fix
1 parent 4334080 commit 3064594

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

routers/web/repo/file.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ func canReadFiles(r *context.Repository) bool {
2020

2121
// GetContents Get the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
2222
func GetContents(ctx *context.Context) {
23-
2423
if !canReadFiles(ctx.Repo) {
2524
ctx.NotFound("Invalid FilePath", nil)
2625
return

0 commit comments

Comments
 (0)