Skip to content

Commit

Permalink
BAU: Pin node version in pre-commit config
Browse files Browse the repository at this point in the history
On some systems the correct node version to use for pre-commit work is not automatically selected, even when it is apparently the default on the developer terminal.

Here we explicitly pin the correct version.
  • Loading branch information
mattvot committed Sep 30, 2024
1 parent d5c22f9 commit 507c573
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
default_language_version:
node: 20.17.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand Down

0 comments on commit 507c573

Please sign in to comment.