diff options
author | zeripath <art27@cantab.net> | 2020-05-12 22:01:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 17:01:27 -0400 |
commit | ba40263fdda53446c7cae6e41885ebdee8bb7b52 (patch) | |
tree | 04f26a02f1853149e70f8c39047b0dbd56ec3a5c /modules/convert | |
parent | aa29f1c2b9150e45392c925e174af0471bf41b66 (diff) | |
download | gitea-ba40263fdda53446c7cae6e41885ebdee8bb7b52.tar.gz gitea-ba40263fdda53446c7cae6e41885ebdee8bb7b52.zip |
Unfortunately go template if does not shortcut (#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 <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules/convert')
0 files changed, 0 insertions, 0 deletions