From e5d595700a2cd7232d1ab4b62bbd23c0e70a14f4 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Mon, 23 Oct 2023 14:04:31 -0400 Subject: [PATCH] Remove Mandatory property of Tag parameter --- src/Invoke-HttpUnit.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Invoke-HttpUnit.ps1 b/src/Invoke-HttpUnit.ps1 index 767cf9a..04d4ae8 100644 --- a/src/Invoke-HttpUnit.ps1 +++ b/src/Invoke-HttpUnit.ps1 @@ -78,8 +78,7 @@ function Invoke-HttpUnit { [string] $Path, - [Parameter(Mandatory, - Position = 1, + [Parameter(Position = 1, ParameterSetName = 'config-file')] [ValidateNotNullOrEmpty()] [string[]]