mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 11:35:51 +00:00
Fix lint warning
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
This commit is contained in:
parent
0d332a1027
commit
4def3a4eb0
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue