mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make the regex pattern less greedy
This commit is contained in:
parent
6d223cffa7
commit
ea41215646
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ def refresh_db(**kwargs):
|
|||
path=repo_details.winrepo_source_dir,
|
||||
saltenv=saltenv,
|
||||
include_pat='*.sls',
|
||||
exclude_pat=r'E@\/\..*\/' # Exclude all hidden directories (.git)
|
||||
exclude_pat=r'E@\/\..*?\/' # Exclude all hidden directories (.git)
|
||||
)
|
||||
|
||||
return genrepo(saltenv=saltenv, verbose=verbose, failhard=failhard)
|
||||
|
|
Loading…
Add table
Reference in a new issue