mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-15 17:46:10 +02:00
fix: harden unicode safety checks
This commit is contained in:
parent
dd675d4258
commit
866d9ebb53
239 changed files with 3780 additions and 3962 deletions
|
|
@ -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 ─────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue