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:
2026-03-18 21:27:26 +00:00
committed by GitHub
parent 9dca8880cc
commit 81e5b14604

View File

@@ -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"