Sfoglia il codice sorgente

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

Anas DORBANI 1 anno fa
parent
commit
7cc58b28a5
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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..."