We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 155fe72 commit 61e1424Copy full SHA for 61e1424
script/main.sh
@@ -3,8 +3,10 @@ set -euo pipefail
3
4
# Load API keys from the repo root.
5
repoRoot=$(git rev-parse --show-toplevel)
6
-# shellcheck disable=SC1091
7
-source "$repoRoot"/.env
+if [ -f "$repoRoot/.env" ]; then
+ # shellcheck disable=SC1091
8
+ source "$repoRoot/.env"
9
+fi
10
11
# Function to handle final preparation steps.
12
final_preparation() {
0 commit comments