From 81e5b14604575f4179e32647ac37cdf83bc2fa74 Mon Sep 17 00:00:00 2001 From: Marcus Quinn <6428977+marcusquinn@users.noreply.github.com> Date: Wed, 18 Mar 2026 21:27:26 +0000 Subject: [PATCH] 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 --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 060f975..43c8261 100755 --- a/build.sh +++ b/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"