mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-09 15:40:03 +00:00
Lint: Disable gocyclo triggered by switch statement
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a83a29a717
commit
83dc0d88ab
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue