Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy authored and dwoz committed Jan 15, 2025
1 parent f22c6ca commit dc43eba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/modules/cmdmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -2946,9 +2946,9 @@ def _cleanup_tempfile(path):
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(";")
Expand Down

0 comments on commit dc43eba

Please sign in to comment.