Skip to content

Commit

Permalink
fix(ci): Return an error code on the failed AST Changes step. (#4930)
Browse files Browse the repository at this point in the history
Closes #4929
  • Loading branch information
rzvxa committed Aug 16, 2024
1 parent 4081293 commit a0b1b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,4 @@ jobs:
run: |
cargo run -p oxc_ast_tools
git diff --exit-code ||
echo 'AST changes caused the "generated" code to get outdated. Have you forgotten to run the `just ast` command and/or commit generated codes?'
(echo 'AST changes caused the "generated" code to get outdated. Have you forgotten to run the `just ast` command and/or commit generated codes?' && exit 1)

0 comments on commit a0b1b86

Please sign in to comment.