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 f82cee2 commit 32d5df7
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 32d5df7

Please sign in to comment.