Skip to content

Commit

Permalink
ignore funlen
Browse files Browse the repository at this point in the history
  • Loading branch information
wreulicke committed Jan 23, 2025
1 parent 30984e8 commit 60ed3a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/patchr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func applyPatchDir(targetPath string, config *patchConfig, data any) error {
return nil
}

//nolint:funlen
func applyPatch(targetPath string, config *patchConfig, data any) error {
src, err := os.OpenFile(targetPath, os.O_RDWR, 0o644)
if os.IsPermission(err) {
Expand Down

0 comments on commit 60ed3a7

Please sign in to comment.