From ea5d89b47a5424fc81e99934183c0ad7a0cf2426 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sun, 15 Feb 2026 08:41:08 -0800 Subject: Create 'make check' unified workflow and fix various lint issues --- cmd/neko/main.go | 4 ++-- cmd/neko/main_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd') diff --git a/cmd/neko/main.go b/cmd/neko/main.go index 333e5ce..3fd03f6 100644 --- a/cmd/neko/main.go +++ b/cmd/neko/main.go @@ -116,11 +116,11 @@ func Run(args []string) error { config.Config.CrawlMinutes = minutes } - if proxyImages != false { + if proxyImages { config.Config.ProxyImages = proxyImages } - if secureCookies != false { + if secureCookies { config.Config.SecureCookies = secureCookies } diff --git a/cmd/neko/main_test.go b/cmd/neko/main_test.go index fd36fdd..b03d6c8 100644 --- a/cmd/neko/main_test.go +++ b/cmd/neko/main_test.go @@ -36,7 +36,7 @@ func TestRunCrawl(t *testing.T) { } } -func TestBackgroundCrawlZero(t *testing.T) { +func TestBackgroundCrawlZero(_ *testing.T) { backgroundCrawl(0) // Should return immediately } -- cgit v1.2.3