-
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Ultracite does not escape dollar signs in paths, causing the shell to attempt interpolating them.
Ultracite version
5.0.31
To Reproduce
Provide Ultracite with a path that contains a $
.
❯ pnpm ultracite format "/Users/epogue/Code/apps/team/app/routes/_app/appointments/\$appointmentId.tsx"
/Users/epogue/Code/apps/team/app/routes/_app/appointments/.tsx internalError/io INTERNAL ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ No such file or directory (os error 2)
⚠ This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.
Checked 0 files in 8ms. No fixes applied.
check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ No files were processed in the specified paths.
ℹ Check your biome.json or biome.jsonc to ensure the paths are not ignored by the configuration.
ℹ These paths were provided but ignored:
- /Users/epogue/Code/apps/team/app/routes/_app/appointments/.tsx
Failed to run Ultracite: Command failed: npx @biomejs/biome check --write "/Users/epogue/Code/apps/team/app/routes/_app/appointments/$appointmentId.tsx"
Expected behavior
The path passed to biome should have all dollar signs escaped e.g.
npx @biomejs/biome check --write "/Users/epogue/Code/apps/team/app/routes/_app/appointments/\$appointmentId.tsx"
Desktop (please complete the following information):
- OS: macOS Sequoia 15.5
- Shell:
zsh
Copilot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working