Skip to content

Commit

Permalink
Update S4Utils.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
AkariiinMKII committed Feb 11, 2025
1 parent b73e8dd commit e4a2601
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/S4Utils.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function Import-PersistItem {
[Parameter(Mandatory = $false, Position = 2)]
[string] $ConflictAction = "Skip",
[Parameter(Mandatory = $false, Position = 3)]
[string] $Select,
[string[]] $Select,
[Parameter(Mandatory = $false, Position = 4)]
[switch] $Sync,
[Parameter(Mandatory = $false, Position = 5)]
Expand Down Expand Up @@ -304,7 +304,7 @@ function Import-PersistItem {
}

if ($Select) {
$SelectArray = $Select.Split(",").Trim()
$SelectArray = $Select
} else {
$SelectArray = Get-ChildItem -Path $SourcePath | Select-Object -ExpandProperty Name
}
Expand Down

0 comments on commit e4a2601

Please sign in to comment.