use cammel case
Signed-off-by: Fabiano Graças <fabiano.gracas@faro.com>
This commit is contained in:
parent
c02b7a85d4
commit
c6d7cdd6d7
1 changed files with 3 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ function scanast() {
|
|||
rm -f security.log
|
||||
}
|
||||
|
||||
function Scan() {
|
||||
function scan() {
|
||||
gosec -fmt=sarif -out=results.sarif -exclude-dir=internal -exclude-dir=vendor -severity=high ./...
|
||||
}
|
||||
|
||||
|
|
@ -117,11 +117,11 @@ function usage() {
|
|||
}
|
||||
|
||||
case "$1" in
|
||||
fmtcheck) checkfmt ;;
|
||||
fmtCheck) checkfmt ;;
|
||||
format) goFormat ;;
|
||||
lint) lint ;;
|
||||
lintDocker) lintDocker ;;
|
||||
unittest) unitTest ;;
|
||||
unitTest) unitTest ;;
|
||||
scan) scan ;;
|
||||
localScan) localScan ;;
|
||||
*) usage ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue