From 2d8bb805bf23b1001677da8da1b0bc13e408a826 Mon Sep 17 00:00:00 2001 From: Wayback Archiver <66856220+waybackarchiver@users.noreply.github.com> Date: Wed, 26 Jun 2024 07:39:58 +0000 Subject: [PATCH] Make linter workflow work again --- reduxer/reduxer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reduxer/reduxer.go b/reduxer/reduxer.go index 7e4caefe..06244af6 100644 --- a/reduxer/reduxer.go +++ b/reduxer/reduxer.go @@ -150,7 +150,7 @@ func Do(ctx context.Context, opts *config.Options, urls ...*url.URL) (Reduxer, e } // No supported browser found, returns empty results to ensure archives are normal. - if _, err := exec.LookPath(helper.FindChromeExecPath()); err != nil { + if _, err = exec.LookPath(helper.FindChromeExecPath()); err != nil { logger.Debug("No browser detected, no artifacts scraped.") return bs, nil }