Skip to content

Commit fca3bcf

Browse files
wxiaoguangyp05327
andauthored
Update routers/web/repo/view_file.go
Co-authored-by: yp05327 <[email protected]>
1 parent a0cfb36 commit fca3bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/view_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func prepareToRenderFile(ctx *context.Context, entry *git.TreeEntry) {
159159
}
160160
attrs := attrsMap[ctx.Repo.TreePath]
161161
if attrs == nil {
162-
// this case shouldn't happe, just in case.
162+
// this case shouldn't happen, just in case.
163163
setting.PanicInDevOrTesting("no attributes found for %s", ctx.Repo.TreePath)
164164
attrs = attribute.NewAttributes()
165165
}

0 commit comments

Comments
 (0)