Skip to content

Commit e49d428

Browse files
committed
fix(tools): make just ast work on Windows (#15704)
According to Claude, `just ast` in its current form will not work on Windows, as PowerShell does not support `( ... )` for command groupings. Switch to `{ ... }`. This script was added in #15565. Copilot writes it, Claude critiques it!
1 parent e064079 commit e49d428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ codecov:
129129
# unless Rust code is generated first.
130130
# See: https://github.com/oxc-project/oxc/issues/15564
131131
ast:
132-
cargo run -p oxc_ast_tools || (cargo run -p oxc_ast_tools --no-default-features && cargo run -p oxc_ast_tools)
132+
cargo run -p oxc_ast_tools || { cargo run -p oxc_ast_tools --no-default-features && cargo run -p oxc_ast_tools; }
133133

134134
# ==================== PARSER ====================
135135

0 commit comments

Comments
 (0)