use cammel case

Signed-off-by: Fabiano Graças <fabiano.gracas@faro.com>
This commit is contained in:
Fabiano Graças 2022-01-04 20:11:02 +01:00
parent c02b7a85d4
commit c6d7cdd6d7

View file

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