Skip to content

Commit

Permalink
make the conf path relative
Browse files Browse the repository at this point in the history
Signed-off-by: Tamar Galer <[email protected]>
  • Loading branch information
tamar-ox committed Jul 10, 2024
1 parent d60a5a2 commit d95035a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion maskerlogger/masker_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import re
from typing import List
from ahocorasick_regex_match import RegexMatcher
import os

DEFAULT_SECRETS_CONFIG_PATH = "maskerlogger/config/gitleaks.toml"
DEFAULT_SECRETS_CONFIG_PATH = os.path.join(os.path.dirname(__file__), "config/gitleaks.toml")
_APPLY_MASK = 'apply_mask'
SKIP_MASK = {_APPLY_MASK: False}

Expand Down

0 comments on commit d95035a

Please sign in to comment.