Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan committed Feb 28, 2024
1 parent 31b6082 commit 43c383c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions demisto_sdk/commands/pre_commit/pre_commit_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 43c383c

Please sign in to comment.