mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
cmd: fix typos found by codespell
This commit is contained in:
committed by
Nick Craig-Wood
parent
043bf3567d
commit
cce8936802
@@ -141,7 +141,7 @@ func Touch(ctx context.Context, f fs.Fs, remote string) error {
|
||||
file, err := f.NewObject(ctx, remote)
|
||||
if err != nil {
|
||||
if errors.Is(err, fs.ErrorObjectNotFound) {
|
||||
// Touching non-existant path, possibly creating it as new file
|
||||
// Touching non-existent path, possibly creating it as new file
|
||||
if remote == "" {
|
||||
fs.Logf(f, "Not touching empty directory")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user