Skip to content

Commit 4f3d65b

Browse files
robertherberclaude
andcommitted
Fix impossible condition in bun setup-environment.sh
Remove check that combined mutually exclusive conditions (-z and -n on the same variable), which could never evaluate to true. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 41dc4bb commit 4f3d65b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

skills/plugins/bun/scripts/setup-environment.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ if [ -z "$BUN_VERSION" ] && [ -f "$PROJECT_DIR/.env.github" ]; then
3434
fi
3535
fi
3636

37-
# 4. Check if already set in environment
38-
if [ -z "$BUN_VERSION" ] && [ -n "${BUN_VERSION:-}" ]; then
39-
echo "🌍 Using BUN_VERSION from environment: $BUN_VERSION"
40-
fi
41-
4237
check_bun_not_installed() {
4338
if command -v bun >/dev/null 2>&1; then
4439
local installed

0 commit comments

Comments
 (0)