diff --git a/demisto_sdk/commands/pre_commit/pre_commit_context.py b/demisto_sdk/commands/pre_commit/pre_commit_context.py index aedef8decc..df5649957a 100644 --- a/demisto_sdk/commands/pre_commit/pre_commit_context.py +++ b/demisto_sdk/commands/pre_commit/pre_commit_context.py @@ -58,14 +58,7 @@ def __post_init__(self): PRECOMMIT_FOLDER.mkdir(parents=True) PRECOMMIT_CONFIG.mkdir() PRECOMMIT_DOCKER_CONFIGS.mkdir() - PRE_COMMIT_FOLDER_SHARED.mkdir(mode=777) - (PRE_COMMIT_FOLDER_SHARED / "coverage").mkdir( - parents=True, exist_ok=True, mode=777 - ) - (PRE_COMMIT_FOLDER_SHARED / "pytest-junit").mkdir( - parents=True, exist_ok=True, mode=777 - ) - + PRE_COMMIT_FOLDER_SHARED.mkdir(parents=True, exist_ok=True, mode=777) self.precommit_template: dict = get_file_or_remote(PRECOMMIT_TEMPLATE_PATH) # type: ignore[assignment] remote_config_file = get_remote_file(str(PRECOMMIT_TEMPLATE_PATH)) if remote_config_file and remote_config_file != self.precommit_template: