Skip to content

Commit

Permalink
Update post-upgrade part 2 (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 authored Apr 27, 2024
1 parent b0ce41a commit f6b661c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/post-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ printf 'Do you want to proceed with the upgrade? (y/N)? '
read -r answer
if [ "$answer" != "${answer#[Yy]}" ]; then
# Retrieve prod or dev from .env.local.php file
ENV=$(grep -oP "'APP_ENV' => '\K[^']+" .env.local.php)
ENV=$(grep -oP "'APP_ENV' => '\K[^']+" "$BIN_DIR/../.env.local.php")
if [[ "$ENV" == "dev" ]]; then
# Development
echo -e "INFO: Environment detected: Development\n"
Expand Down

0 comments on commit f6b661c

Please sign in to comment.