Skip to content

Commit bc84bc5

Browse files
redsun82Copilot
andcommitted
Just: keep this directory's formatter to the file it was given
The recipe took the argument but also let just change directory into its own, so a file named below it was looked for twice over. Interpolating the argument raw split paths containing spaces as well. The shared formatters already avoid both. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent bbdad5b commit bc84bc5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎misc/just/justfile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
[no-cd]
2+
[positional-arguments]
13
format *ARGS=".":
2-
npx prettier --write {{ ARGS }}
4+
npx prettier --write "$@"

0 commit comments

Comments
 (0)