Skip to content

Commit

Permalink
#2 fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jan 6, 2025
1 parent 31d7efe commit 94401d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,12 @@ build_admin() {
if [ ! -f "$BLOG_ADMIN_DIR/.env" ]; then
echo ' ∟ .env file missing, copying from .env.example...'
cp "$BLOG_ADMIN_DIR/.env.production" "$BLOG_ADMIN_DIR/.env"
composer "$COMPOSER_COMMAND"
# shellcheck disable=SC1091
composer $COMPOSER_COMMAND
/usr/bin/php8.3 artisan key:generate
else
composer "$COMPOSER_COMMAND"
# shellcheck disable=SC1091
composer $COMPOSER_COMMAND
fi

if [ "$ENV" = "dev" ]; then
Expand Down

0 comments on commit 94401d5

Please sign in to comment.