fix: consolidate duplicate deployment echo into single printf in build.sh (#99)
Addresses Gemini review feedback from PR #80 (build.sh:88): replaces the redundant pair of printf+echo deployment messages with a single printf call, which is more concise and idiomatic for formatted shell output. Closes #97
This commit is contained in:
3
build.sh
3
build.sh
@@ -85,8 +85,7 @@ if [ -f "$ZIP_FILE" ]; then
|
||||
|
||||
# Deploy to local WordPress installation if environment variable is set
|
||||
if [ -n "${WP_LOCAL_PLUGIN_DIR:-}" ]; then
|
||||
echo ""
|
||||
echo "Deploying to local WordPress installation..."
|
||||
printf '\nDeploying to local WordPress installation...\n'
|
||||
|
||||
# Remove existing plugin directory.
|
||||
rm -rf "${WP_LOCAL_PLUGIN_DIR:?}/$PLUGIN_SLUG"
|
||||
|
||||
Reference in New Issue
Block a user