From 04ee670754e829cd9335eccc0779b68cb8a2a6f4 Mon Sep 17 00:00:00 2001 From: oedokumaci Date: Tue, 2 May 2023 14:04:49 +0300 Subject: [PATCH] ci: fix exist not exists --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 36ba978..45d237d 100644 --- a/Makefile +++ b/Makefile @@ -49,10 +49,10 @@ pre-commit: ## Run pre-commit clean: ## Clean cached files ifeq ($(OS),Windows_NT) - if exists .mypy_cache rmdir /s /q .mypy_cache - if exists .pytest_cache rmdir /s /q .pytest_cache - if exists src\gale_shapley\__pycache__ rmdir /s /q src\gale_shapley\__pycache__ - if exists tests\__pycache__ rmdir /s /q tests\__pycache__ + if exist .mypy_cache rmdir /s /q .mypy_cache + if exist .pytest_cache rmdir /s /q .pytest_cache + if exist src\gale_shapley\__pycache__ rmdir /s /q src\gale_shapley\__pycache__ + if exist tests\__pycache__ rmdir /s /q tests\__pycache__ else rm -rf .mypy_cache rm -rf .pytest_cache