Преглед изворни кода

[misc] make: ignore a lint/format task failure

Jakob Ackermann пре 6 година
родитељ
комит
96a0835710
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      services/contacts/Makefile

+ 2 - 2
services/contacts/Makefile

@@ -17,13 +17,13 @@ clean:
 	docker rmi gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
 
 format:
-	$(DOCKER_COMPOSE) run --rm test_unit npm run format
+	$(DOCKER_COMPOSE) run --rm test_unit npm run format || true
 
 format_fix:
 	$(DOCKER_COMPOSE) run --rm test_unit npm run format:fix
 
 lint:
-	$(DOCKER_COMPOSE) run --rm test_unit npm run lint
+	$(DOCKER_COMPOSE) run --rm test_unit npm run lint || true
 
 test: format lint test_unit test_acceptance