Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mfdeveloper508 committed Sep 19, 2023
1 parent 83c7b0b commit 467a067
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions go/lint-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,11 @@ echo "SUCCESS: Go code built without errors"

# gitleaks (secret scanning, in-progress of a rollout)
run_gitleaks=true
if [[ "$org" != "moov-io" || "$OS_NAME" == "windows" ]];
then
if [[ "$org" != "moov-io" || "$OS_NAME" == "windows" ]]; then
run_gitleaks=false
else
if [[ "$EXPERIMENTAL" == *"gitleaks"* && "$DISABLE_GITLEAKS" != "true"]];
then
# checking flags
if [[ "$EXPERIMENTAL" == *"gitleaks"* && "$DISABLE_GITLEAKS" != "true"]]; then
run_gitleaks=true
else
DISABLE_GITLEAKS=${DISABLE_GITLEAKS:="true"}
Expand Down

0 comments on commit 467a067

Please sign in to comment.