forked from TrueCloudLab/rclone
build: fix gocritic lint issue sloppylen
This commit is contained in:
parent
33bff6fe71
commit
64e8013c1b
1 changed files with 1 additions and 1 deletions
|
@ -1283,7 +1283,7 @@ func Cat(ctx context.Context, f fs.Fs, w io.Writer, offset, count int64, sep []b
|
||||||
err = fs.CountError(err)
|
err = fs.CountError(err)
|
||||||
fs.Errorf(o, "Failed to send to output: %v", err)
|
fs.Errorf(o, "Failed to send to output: %v", err)
|
||||||
}
|
}
|
||||||
if len(sep) >= 0 {
|
if len(sep) > 0 {
|
||||||
_, err = w.Write(sep)
|
_, err = w.Write(sep)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = fs.CountError(err)
|
err = fs.CountError(err)
|
||||||
|
|
Loading…
Reference in a new issue