This repository was archived by the owner on Jun 13, 2024. It is now read-only.
Commit ffdcfd3
(GH32) Trim semicolons (;) from $env:PSModulePath before splitting
If $env:PSModulePath starts or ends with semicolons (;) then splitting on it will produce $null entries.
This will cause problems when looping through each path to search for OVF modules.1 parent b2adeae commit ffdcfd3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments