Fix lint warning

Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
This commit is contained in:
Cosmin Cojocar 2023-09-25 13:18:22 +02:00 committed by Cosmin Cojocar
parent 0d332a1027
commit 4def3a4eb0

View file

@ -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