mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-09-18 17:52:54 +00:00
Lint: Fix error caused by stupid linter
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
60abc308fb
commit
9d1ede2b1e
@ -80,6 +80,7 @@ func handleStatusRequest(w http.ResponseWriter, r *http.Request) {
|
|||||||
{
|
{
|
||||||
Name: "Twitch Client Authorized",
|
Name: "Twitch Client Authorized",
|
||||||
Description: "Twitch Client is authorized and can fetch authorized user",
|
Description: "Twitch Client is authorized and can fetch authorized user",
|
||||||
|
//nolint:contextcheck // Check is too stupid to see the context IS passed
|
||||||
checkFn: func() error {
|
checkFn: func() error {
|
||||||
if twitchClient == nil {
|
if twitchClient == nil {
|
||||||
return errors.New("not initialized")
|
return errors.New("not initialized")
|
||||||
|
Loading…
Reference in New Issue
Block a user