mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +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 {
|
type osCreatePermissions struct {
|
||||||
issue.MetaData
|
issue.MetaData
|
||||||
defaultMode int64
|
mode int64
|
||||||
mode int64
|
pkgs []string
|
||||||
pkgs []string
|
calls []string
|
||||||
calls []string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const defaultOsCreateMode = 0o666
|
const defaultOsCreateMode = 0o666
|
||||||
|
|
Loading…
Reference in a new issue