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 b0ce41a commit f6b661cCopy full SHA for f6b661c
bin/post-upgrade
@@ -6,7 +6,7 @@ printf 'Do you want to proceed with the upgrade? (y/N)? '
6
read -r answer
7
if [ "$answer" != "${answer#[Yy]}" ]; then
8
# Retrieve prod or dev from .env.local.php file
9
- ENV=$(grep -oP "'APP_ENV' => '\K[^']+" .env.local.php)
+ ENV=$(grep -oP "'APP_ENV' => '\K[^']+" "$BIN_DIR/../.env.local.php")
10
if [[ "$ENV" == "dev" ]]; then
11
# Development
12
echo -e "INFO: Environment detected: Development\n"
0 commit comments