Skip to content

Commit 658cf73

Browse files
committed
updated sonar scan file
1 parent 0894c4b commit 658cf73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/run_sonar_scan.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
55
ENV_FILE="$PROJECT_ROOT/.env"
66

77
# Check if .env file exists
8-
if [ ! -f "$ENV_FILE" ]; then
9-
echo "Error: .env file not found at $ENV_FILE"
8+
if [[ ! -f "$ENV_FILE" ]]; then
9+
echo "Error: .env file not found at $ENV_FILE" >&2
1010
exit 1
1111
fi
1212

0 commit comments

Comments
 (0)