Skip to content

Commit

Permalink
break when really readed file contents
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed Dec 5, 2023
1 parent d2c515e commit 05d9cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/repo/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,8 @@ func checkCitationFile(ctx *context.Context, entry *git.TreeEntry) {
} else {
ctx.Data["CitiationExist"] = true
ctx.PageData["citationFileContent"] = content
break
}
break
}
}
}
Expand Down

0 comments on commit 05d9cff

Please sign in to comment.