From c3a87c62c84a6f92df46fbe5047e1e2ea29de6f7 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Wed, 6 Nov 2024 09:18:17 -0800 Subject: [PATCH] err --- src/sender/sender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sender/sender.go b/src/sender/sender.go index 5b78ac6..70c3db6 100644 --- a/src/sender/sender.go +++ b/src/sender/sender.go @@ -27,7 +27,7 @@ func SendFiles(ctx context.Context, targetPath string) error { return fmt.Errorf("preparing file list payload: %w", err) } - if err := fileutils.ChangeDirectory(directory); err != nil { + if err = fileutils.ChangeDirectory(directory); err != nil { return fmt.Errorf("changing directory: %w", err) }