Skip to content

Commit

Permalink
Change location to see if syntax error still ocurs
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Feb 14, 2024
1 parent 482aca5 commit 5399d5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ if [[ $INPUT_CHECKCONSISTENCY -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --checkConsistency"
fi

if [[ $INPUT_OVERFLOW -eq 1]]; then
GOBRA_ARGS="$GOBRA_ARGS --overflow"
fi

if [[ $INPUT_MCEMODE ]]; then
GOBRA_ARGS="$GOBRA_ARGS --mceMode=$INPUT_MCEMODE"
fi
Expand All @@ -117,10 +121,6 @@ if [[ $INPUT_CONDITIONALIZEPERMISSIONS -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --conditionalizePermissions"
fi

if [[ $INPUT_OVERFLOW -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --overflow"
fi

if [[ $INPUT_STATSFILE ]]; then
# We write the file to /tmp/ (which is easier then making gobra write directly
# to the STATS_TARGET, as doing so often causes Gobra to not generate a file) due
Expand Down

0 comments on commit 5399d5e

Please sign in to comment.