mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix pre-commit
This commit is contained in:
parent
f22c6cabc0
commit
dc43eba7b7
1 changed files with 3 additions and 3 deletions
|
@ -2946,9 +2946,9 @@ def script(
|
|||
env = {}
|
||||
|
||||
paths = [
|
||||
fr'{os.getenv("SystemRoot")}\System32\WindowsPowerShell\v1.0\Modules',
|
||||
fr'{os.getenv("ProgramFiles")}\WindowsPowerShell\Modules',
|
||||
fr'{os.getenv("ProgramFiles(x86)", "")}\WindowsPowerShell\Modules',
|
||||
rf'{os.getenv("SystemRoot")}\System32\WindowsPowerShell\v1.0\Modules',
|
||||
rf'{os.getenv("ProgramFiles")}\WindowsPowerShell\Modules',
|
||||
rf'{os.getenv("ProgramFiles(x86)", "")}\WindowsPowerShell\Modules',
|
||||
]
|
||||
|
||||
ps_module_path = os.getenv("PSModulePath", "").split(";")
|
||||
|
|
Loading…
Add table
Reference in a new issue