Skip to content

Commit 4def3a4

Browse files
committed
Fix lint warning
Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent 0d332a1 commit 4def3a4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

rules/fileperms.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ func NewMkdirPerms(id string, conf gosec.Config) (gosec.Rule, []ast.Node) {
121121

122122
type osCreatePermissions struct {
123123
issue.MetaData
124-
defaultMode int64
125-
mode int64
126-
pkgs []string
127-
calls []string
124+
mode int64
125+
pkgs []string
126+
calls []string
128127
}
129128

130129
const defaultOsCreateMode = 0o666

0 commit comments

Comments
 (0)