mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
Fix -conf example in README.md
1. Example config json included a trailing comma, even though as we obviously know this is how things should be, JSON does not agree and the parser fails miserably 2. Flag was incorrectly stated as -config in the README, the correct flag is -conf 3. Example command did not work as did not include final dot to examine the current pkg.
This commit is contained in:
parent
b6626154df
commit
a966ff760c
1 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ A number of global settings can be provided in a configuration file as follows:
|
|||
{
|
||||
"global": {
|
||||
"nosec": "enabled",
|
||||
"audit": "enabled",
|
||||
"audit": "enabled"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -105,7 +105,7 @@ A number of global settings can be provided in a configuration file as follows:
|
|||
|
||||
```bash
|
||||
# Run with a global configuration file
|
||||
$ goesc -config config.json
|
||||
$ goesc -conf config.json .
|
||||
```
|
||||
|
||||
### Excluding files
|
||||
|
|
Loading…
Reference in a new issue