From afb630c93ea73b078cbb3906e3031d51fd3c25bc Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 23 Nov 2023 06:38:35 +0000 Subject: [PATCH] fix(git-hooks): use `run test:commit` Use the `run` script instead of `just` as its no longer being generated. --- CHANGELOG.md | 4 ++++ templates/common/.githooks/pre-push.twig | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9e7580..c55110d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ * Test assertions for the expected violation messages. +### Fixed + +* The `pre-push` Git hook should use `./run test:commit` instead of `just test-commit` since `just` is no longer used. + ## 2023-11-22 ### Added diff --git a/templates/common/.githooks/pre-push.twig b/templates/common/.githooks/pre-push.twig index 176cd5d..c34b8e3 100755 --- a/templates/common/.githooks/pre-push.twig +++ b/templates/common/.githooks/pre-push.twig @@ -4,4 +4,4 @@ set -euo pipefail -just test-commit +./run test:commit