Commit 289405cb authored by SBassett's avatar SBassett
Browse files

* Remove single quotes

* Move config opts to end
parent 6b1826ed
Pipeline #1443 passed with stage
in 51 seconds
......@@ -5,7 +5,7 @@ semgrep_check:
allow_failure: false # security-related job should not be allowed to fail
variables:
SEMGREP_OPTIONS: "--config='p/ci' --config='p/security-audit' --metrics='off' --time --exclude='vendor' --exclude='node_modules'"
SEMGREP_OPTIONS: "--metrics=off --time --exclude=vendor --exclude=node_modules --config=p/ci --config=p/security-audit"
before_script:
- apt-get update -yqq
......@@ -14,9 +14,8 @@ semgrep_check:
# check if alternative npm audit options were specified calling gitlab-ci.yml file
if [ ! -z ${WM_APPSEC_SEMGREP_OPTIONS} ]; then
SEMGREP_OPTIONS=${WM_APPSEC_SEMGREP_OPTIONS}
fi
echo ${WM_APPSEC_SEMGREP_OPTIONS} # debug
fi
# create a new package lock file, run auditjs
script:
- semgrep ${SEMGREP_OPTIONS}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment