Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unfortunately go template if does not shortcut (go-gitea#11392)
Go template's `{{if ...}}` does not shortcut its tests therefore it is possible to cause a NPE unless you separate ifs into two. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
- Loading branch information