Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
  • Loading branch information
ccojocar committed Sep 25, 2023
1 parent 0d332a1 commit 4def3a4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions rules/fileperms.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,9 @@ func NewMkdirPerms(id string, conf gosec.Config) (gosec.Rule, []ast.Node) {

type osCreatePermissions struct {
issue.MetaData
defaultMode int64
mode int64
pkgs []string
calls []string
mode int64
pkgs []string
calls []string
}

const defaultOsCreateMode = 0o666
Expand Down

0 comments on commit 4def3a4

Please sign in to comment.