mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
fix: narrow unicode cleanup scope
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
# Installs Everything Claude Code workflows into a Kiro project.
|
||||
#
|
||||
# Usage:
|
||||
# ./install.sh # Install to current directory
|
||||
# ./install.sh /path/to/dir # Install to specific directory
|
||||
# ./install.sh ~ # Install globally to ~/.kiro/
|
||||
# set -euo pipefail
|
||||
# ./install.sh # Install to current directory
|
||||
# ./install.sh /path/to/dir # Install to specific directory
|
||||
# ./install.sh ~ # Install globally to ~/.kiro/
|
||||
#
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# When globs match nothing, expand to empty list instead of the literal pattern
|
||||
shopt -s nullglob
|
||||
|
||||
@@ -50,7 +50,7 @@ case "$FORMATTER" in
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
|
||||
prettier)
|
||||
if command -v npx &>/dev/null; then
|
||||
echo "Formatting $FILE with Prettier..."
|
||||
@@ -61,7 +61,7 @@ case "$FORMATTER" in
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
|
||||
none)
|
||||
echo "No formatter detected (biome.json, .prettierrc, or installed formatter)"
|
||||
echo "Skipping format for: $FILE"
|
||||
|
||||
@@ -36,7 +36,7 @@ detect_pm() {
|
||||
}
|
||||
|
||||
PM=$(detect_pm)
|
||||
echo " Package manager: $PM"
|
||||
echo "Package manager: $PM"
|
||||
echo ""
|
||||
|
||||
# ── Helper: run a check ─────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user