Skip to content
Snippets Groups Projects
Commit 627482ed authored by Martin Steiger's avatar Martin Steiger
Browse files

fix: log output for semgrep download

parent 9fd82f48
No related branches found
No related tags found
No related merge requests found
...@@ -591,7 +591,7 @@ stages: ...@@ -591,7 +591,7 @@ stages:
SEMGREP_RULES="${SEMGREP_RULES} $rule" SEMGREP_RULES="${SEMGREP_RULES} $rule"
else else
rule_url="${NODE_SEMGREP_REGISTRY_BASE_URL}/$rule" rule_url="${NODE_SEMGREP_REGISTRY_BASE_URL}/$rule"
log_info "... rule file $rule not found: downloading from $DOWNLOAD_URL" log_info "... rule file $rule not found: downloading from $rule_url"
dest_file="semgrep-${rule/p\//}.yml" dest_file="semgrep-${rule/p\//}.yml"
wget "$rule_url" -O "$dest_file" wget "$rule_url" -O "$dest_file"
SEMGREP_RULES="${SEMGREP_RULES} $dest_file" SEMGREP_RULES="${SEMGREP_RULES} $dest_file"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment