This commit is contained in:
abs3nt 2024-11-06 09:18:17 -08:00
parent 63a869230c
commit c3a87c62c8
Signed by: abs3nt
GPG Key ID: A7BD96A8BAB04C09

View File

@ -27,7 +27,7 @@ func SendFiles(ctx context.Context, targetPath string) error {
return fmt.Errorf("preparing file list payload: %w", err) 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) return fmt.Errorf("changing directory: %w", err)
} }