Skip to content

Commit

Permalink
Use platform neutral path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
valainisgt committed Apr 23, 2022
1 parent 27f783c commit 0031143
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3842,7 +3842,7 @@ function ReadEnvironmentFile

function Get-DSCResourceModules
{
$listPSModuleFolders = $env:PSModulePath.Split(":")
$listPSModuleFolders = $env:PSModulePath.Split([System.IO.Path]::PathSeparator)
$dscModuleFolderList = [System.Collections.Generic.HashSet[System.String]]::new()

foreach ($folder in $listPSModuleFolders)
Expand Down

0 comments on commit 0031143

Please sign in to comment.