Przeglądaj źródła

Fix pre-commit unset when using make build (#796)

Anas DORBANI 1 rok temu
rodzic
commit
7cc58b28a5
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -20,6 +20,7 @@ build:
 	@poetry install --without evaluation
 	@echo "Activating Poetry shell..."
 	@echo "Installing pre-commit hooks..."
+	@git config --unset-all core.hooksPath || true
 	@poetry run pre-commit install --config $(PRECOMMIT_CONFIG_PATH)
 	@echo "Setting up frontend environment..."
 	@echo "Detect Node.js version..."