We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4334080 commit 3064594Copy full SHA for 3064594
routers/web/repo/file.go
@@ -20,7 +20,6 @@ func canReadFiles(r *context.Repository) bool {
20
21
// GetContents Get the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
22
func GetContents(ctx *context.Context) {
23
-
24
if !canReadFiles(ctx.Repo) {
25
ctx.NotFound("Invalid FilePath", nil)
26
return
0 commit comments