aboutsummaryrefslogtreecommitdiff
path: root/internal/pushrules/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pushrules/util.go')
-rw-r--r--internal/pushrules/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pushrules/util.go b/internal/pushrules/util.go
index 027d35ef..8ab4eab9 100644
--- a/internal/pushrules/util.go
+++ b/internal/pushrules/util.go
@@ -11,7 +11,7 @@ import (
// kind and a tweaks map. Returns a nil map if it would have been
// empty.
func ActionsToTweaks(as []*Action) (ActionKind, map[string]interface{}, error) {
- var kind ActionKind
+ kind := UnknownAction
tweaks := map[string]interface{}{}
for _, a := range as {