Simplify code found by simplicity audit of d6be98f

This commit is contained in:
Ian Gulliver
2026-10-23 13:05:14 -07:00
parent c337799147
commit 3c2932c8fb
26 changed files with 180 additions and 225 deletions
+5
View File
@@ -0,0 +1,5 @@
package api
func (u User) HasGitIdentity() bool {
return u.GitName != "" && u.GitEmail != ""
}