-
Notifications
You must be signed in to change notification settings - Fork 14
Missing ExcludeDirs param #18
Copy link
Copy link
Open
Labels
bugThe issue is a bug.The issue is a bug.in progressThe issue is being actively worked on by someone.The issue is being actively worked on by someone.
Description
In the Master and Dev branch, you do not have an ExcludeDirs param
# Helper Functions
function Get-RobocopyArguments
{
[CmdletBinding()]
[OutputType([System.String[]])]
param
(
[parameter(Mandatory = $true)]
[System.String]
$Source,
[parameter(Mandatory = $true)]
[System.String]
$Destination,
[System.String]
$Files,
[System.UInt32]
$Retry,
[System.UInt32]
$Wait,
[System.Boolean]
$SubdirectoriesIncludingEmpty,
[System.Boolean]
$Restartable,
[System.Boolean]
$MultiThreaded,
[System.String]
$ExcludeFiles,
[System.String]
$LogOutput,
[System.Boolean]
$AppendLog,
[System.String[]]
$AdditionalArgs
)but when building the robocopy arguments, you are checking for the param to set /XD
if ($ExcludeDirs)
{
$arguments += @('/XD', $ExcludeDirs)
}I was not sure if you meant to have ExcludeDirs or if it was removed and the added check was just forgotten about.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug.The issue is a bug.in progressThe issue is being actively worked on by someone.The issue is being actively worked on by someone.