Skip to content

Commit

Permalink
Ignore new gosec lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jun 3, 2024
1 parent 980e214 commit ee8b44f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/writer/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func New(source, target string) (*Writer, error) {
}

t := filepath.Clean(target)
//nolint:gosec // not security sensitive.
if err := os.MkdirAll(t, os.ModePerm); err != nil {
return nil, fmt.Errorf("creating target directory: %w", err)
}
Expand Down

0 comments on commit ee8b44f

Please sign in to comment.