1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

no more naked returns

This commit is contained in:
Jesse Duffield
2022-03-25 23:16:24 +11:00
parent cf74c2cf96
commit f9979879a1
2 changed files with 7 additions and 2 deletions

View File

@ -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
}