Skip to content
Snippets Groups Projects
Unverified Commit e659e444 authored by Anze Luzar's avatar Anze Luzar
Browse files

Update gitl-leaks and mdl checks

parent 16d2a87e
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,8 @@ class GitLeaksCheck(Check):
def run(self, directory: str) -> CheckOutput:
if self._config_filename:
return run_command(
f'{env.GIT_LEAKS_CHECK_PATH} --config-path {env.CONFIG_DIR}/{self._config_filename} --path=. -v',
f'{env.GIT_LEAKS_CHECK_PATH} --config-path {env.CONFIG_DIR}/{self._config_filename} --path=.',
directory
)
else:
return run_command(f'{env.GIT_LEAKS_CHECK_PATH} --path=. -v', directory)
return run_command(f'{env.GIT_LEAKS_CHECK_PATH} --path=.', directory)
......@@ -22,7 +22,7 @@ class MarkdownLintCheck(Check):
def run(self, directory: str) -> CheckOutput:
if self._config_filename:
return run_command(f'{env.MARKDOWN_LINT_CHECK_PATH} -c {env.CONFIG_DIR}/{self._config_filename} -v .',
return run_command(f'{env.MARKDOWN_LINT_CHECK_PATH} -c {env.CONFIG_DIR}/{self._config_filename} .',
directory)
else:
return run_command(f'{env.MARKDOWN_LINT_CHECK_PATH} -v .', directory)
return run_command(f'{env.MARKDOWN_LINT_CHECK_PATH} .', directory)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment