err
This commit is contained in:
parent
63a869230c
commit
c3a87c62c8
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user