Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Fail on linting for CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound committed Dec 15, 2022
1 parent 38c1ca7 commit 858fdb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ generate-dag-docs fail_on_diff="false":
just run python openverse_catalog/utilities/dag_doc_gen/dag_doc_generation.py
# Move the file to the top level, since that level is not mounted into the container
mv openverse_catalog/utilities/dag_doc_gen/DAGs.md DAGs.md
echo -n "Running linting..."
echo "Running linting..."
# Linting step afterwards is necessary since the generated output differs greatly from what prettier expects
just lint &>/dev/null || true
just lint
echo "Done!"
if {{ fail_on_diff }}; then
set +e
Expand Down

0 comments on commit 858fdb7

Please sign in to comment.