Skip to content

Commit 6fd9938

Browse files
authored
docs: add a note about Semgrep's strange behavior (#15)
Describes the purpose of the `experimental` flag and its correlation to output files.
1 parent 0a5b64d commit 6fd9938

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/scripts/analyze-code.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
########### DEFAULTS ###########
44

5+
# The `experimental` flag is needed for Semgrep to work, otherwise
6+
# for unknown reason it will fail with exit code 2. This behavior
7+
# is only observed in CI environment.
8+
# When the `experimental` flag is set, saving the output to the
9+
# file will not work and is just silently ignored.
10+
511
ARGS="--experimental --error --strict --metrics off"
612

713
########### VERBOSE ###########

0 commit comments

Comments
 (0)