Skip to content

Commit dbddc75

Browse files
committed
fix: export JSON_MODE so --json flag reaches Python script
1 parent cb5e52a commit dbddc75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/gstack-risk-score

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ set -euo pipefail
1717

1818
JSON_MODE=""
1919
[ "${1:-}" = "--json" ] && JSON_MODE=1
20+
export JSON_MODE
2021

2122
# Detect base branch
2223
BASE=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null || \

0 commit comments

Comments
 (0)