Skip to content

Commit

Permalink
fix: smol bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybuidl committed Aug 18, 2023
1 parent d89851f commit b3a8c5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions web/scripts/runEnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ if [[ ! " ${valid_deployments[@]} " =~ " ${deployment} " ]]; then
fi

node $SCRIPT_DIR/gitInfo.js
. $SCRIPT_DIR/../.env.${deployment}.public
. $SCRIPT_DIR/../.env.${deployment}

envFile="$SCRIPT_DIR/../.env.${deployment}"
[ -f "$envFile.public" ] && . $envFile.public
[ -f "$envFile" ] && . $envFile

eval "$commands"
2 changes: 1 addition & 1 deletion web/src/layout/Header/navbar/Debug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Phase = () => {
});
return (
<>
{phase && (
{phase !== undefined && (
<label>
<br />
phase: {Phases[phase]}
Expand Down

0 comments on commit b3a8c5c

Please sign in to comment.