Skip to content

Commit f112544

Browse files
add default maps (#58)
1 parent 68b8553 commit f112544

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkg/parser/defaults.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ const DefaultSeverityThreshold = models.SeverityMedium
66

77
func NewDefaultConfig() *models.Configuration {
88
return &models.Configuration{
9-
SeverityThreshold: DefaultSeverityThreshold,
10-
IgnoreDirs: []string{},
11-
IgnorePaths: []string{},
9+
SeverityThreshold: DefaultSeverityThreshold,
10+
IgnoreDirs: []string{},
11+
IgnorePaths: []string{},
12+
Notifications: map[string]models.Notification{},
13+
ScheduledNotifications: map[string]models.ScheduledNotification{},
1214
}
1315
}

0 commit comments

Comments
 (0)