mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-04 23:42:10 +03:00
no more naked returns
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user