From 83dc0d88ab30a80f46d481734e90ef5736cfefa9 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 11 Feb 2022 22:45:36 +0100 Subject: [PATCH] Lint: Disable gocyclo triggered by switch statement Signed-off-by: Knut Ahlers --- mod_streamSchedule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_streamSchedule.go b/mod_streamSchedule.go index 2879d70..ce895a1 100644 --- a/mod_streamSchedule.go +++ b/mod_streamSchedule.go @@ -63,7 +63,7 @@ func (m *modStreamSchedule) Initialize(id string, crontab *cron.Cron, discord *d func (m modStreamSchedule) Setup() error { return nil } -//nolint:funlen // Seeing no sense to split for 5 lines +//nolint:funlen,gocyclo // Seeing no sense to split for 5 lines func (m modStreamSchedule) cronUpdateSchedule() { twitch := newTwitchAdapter( // @attr twitch_client_id required string "" Twitch client ID the token was issued for