mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Revert artifact dir glob
This commit is contained in:
parent
d9bfb7b7bb
commit
288d650a6c
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class SaltPkgInstall:
|
|||
if platform.is_windows():
|
||||
file_ext_re = "exe|msi"
|
||||
|
||||
for f_path in ARTIFACTS_DIR.rglob("."):
|
||||
for f_path in ARTIFACTS_DIR.glob("**/*.*"):
|
||||
f_path = str(f_path)
|
||||
if re.search(f"salt-(.*).({file_ext_re})$", f_path, re.IGNORECASE):
|
||||
self.file_ext = os.path.splitext(f_path)[1].strip(".")
|
||||
|
|
Loading…
Add table
Reference in a new issue