diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-25 23:16:24 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-25 23:27:28 +1100 |
commit | f9979879a15f242294d65147ac0012ffadaeba0d (patch) | |
tree | 870c81a9725f06b4f121458ef89808b25787170c /pkg/commands/oscommands | |
parent | cf74c2cf96ea99e195f82c0864daadaad2c09d17 (diff) |
no more naked returns
Diffstat (limited to 'pkg/commands/oscommands')
-rw-r--r-- | pkg/commands/oscommands/copy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/oscommands/copy.go b/pkg/commands/oscommands/copy.go index 131e9bc6b..f68590280 100644 --- a/pkg/commands/oscommands/copy.go +++ b/pkg/commands/oscommands/copy.go @@ -72,7 +72,7 @@ func CopyFile(src, dst string) (err error) { return } - return + return //nolint: nakedret } // CopyDir recursively copies a directory tree, attempting to preserve permissions. @@ -133,5 +133,5 @@ func CopyDir(src string, dst string) (err error) { } } - return + return //nolint: nakedret } |