Skip to content

Commit

Permalink
fix ocamlformat version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Khady committed Oct 19, 2024
1 parent bf15f0a commit ed9acb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
allow-prerelease-opam: true

- name: Install ocamlformat
run: grep version .ocamlformat | cut -d '=' -f 2 | xargs -I V opam install ocamlformat=V
run: grep '^version=' .ocamlformat | cut -d '=' -f 2 | xargs -I V opam install ocamlformat=V

- name: Format code
run: |
Expand Down

2 comments on commit ed9acb8

@hannesm
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, whitespaces are allowed between version and =.

@Khady
Copy link
Owner Author

@Khady Khady commented on ed9acb8 Oct 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL, will fix. Thanks!

Please sign in to comment.