Explorar el Código

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

Anas DORBANI hace 1 año
padre
commit
7cc58b28a5
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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..."