From 9c91a4ec3cd62d2ed92cc441b03a9e22323017f8 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Fri, 26 Jun 2020 16:51:21 -0400 Subject: [PATCH] [DevOp] Allow $amarinStorage to be empty. (#8963) pwsh will complain if a mandatory parameter is empty. Remove the attr and allow it to be empty since the if statements do check fir it. --- tools/devops/device-tests/scripts/GitHub.psm1 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/devops/device-tests/scripts/GitHub.psm1 b/tools/devops/device-tests/scripts/GitHub.psm1 index b509675c7e..20150b191f 100644 --- a/tools/devops/device-tests/scripts/GitHub.psm1 +++ b/tools/devops/device-tests/scripts/GitHub.psm1 @@ -306,13 +306,12 @@ function New-GitHubSummaryComment { [String] $Context, - [Parameter(Mandatory)] - [String] - $XamarinStoragePath, - [Parameter(Mandatory)] [String] $TestSummaryPath + + [String] + $XamarinStoragePath, ) $envVars = @{