tpl: Drop an else block in checkCondition
authorbogem <albertnigma@gmail.com>
Mon, 21 Nov 2016 22:04:59 +0000 (23:04 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Nov 2016 08:13:00 +0000 (09:13 +0100)
commit7665dd239e825be83c0eabadb914f5859bb902af
treea2958015e3ca97cba6f4e52f0edf2ac8b78969c0
parent581291dc3b84280432765a338dbc29ed338374e5
tpl: Drop an else block in checkCondition

Fix golint warning: tpl/template_funcs.go:853:10: if block ends with a
return statement, so drop this else and outdent its block

See #2014
tpl/template_funcs.go