diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 08:41:08 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 08:41:08 -0800 |
| commit | ea5d89b47a5424fc81e99934183c0ad7a0cf2426 (patch) | |
| tree | f18664d9ef5a7b606896034027e6d3331fdad92b /cmd | |
| parent | d4f19ac62f203314fb3e2d4b3afea3d87bbbfe63 (diff) | |
| download | neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.gz neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.bz2 neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.zip | |
Create 'make check' unified workflow and fix various lint issues
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/neko/main.go | 4 | ||||
| -rw-r--r-- | cmd/neko/main_test.go | 2 |
2 files changed, 3 insertions, 3 deletions
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 } |
