mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-03 15:43:31 +08:00
fix: harden unicode safety checks
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user