just argument-comment-lint fails when the repo path contains spaces
What happened?
AGENTS.md recommends running just argument-comment-lint locally. In a checkout whose path contains a space, the recipe fails before it can run the target-list helper because the justfile_directory() expansion is unquoted inside command substitution.
In this checkout, running just argument-comment-lint expands to:
bazel build --config=argument-comment-lint -- $(/Users/gimdong-yong/Documents/Quick Question/openai-codex-upstream/tools/argument-comment-lint/list-bazel-targets.sh)
The shell splits that path at Quick Question, producing:
argument-comment-lint: /Users/gimdong-yong/Documents/Quick: No such file or directory
just --dry-run argument-comment-lint shows the same unquoted path expansion.
Expected behavior
The argument-comment-lint recipe should quote the helper path so the command works from checkouts whose absolute path contains spaces.
Additional context
I searched open issues and PRs for terms including argument-comment-lint, path spaces, and justfile_directory, and did not find an existing open item that appears to cover this shell quoting issue.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗