From 5a3ef14d7e146af615385bf24952364f5c6fb080 Mon Sep 17 00:00:00 2001 From: scbedd <45376673+scbedd@users.noreply.github.com> Date: Fri, 17 Mar 2023 11:36:12 -0700 Subject: [PATCH 1/3] add some default output to see about minimizing any occurrence of the task failing for no reason. perhaps having some output will allow devops to have an easier time with the invocation --- eng/common/scripts/trust-proxy-certificate.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/common/scripts/trust-proxy-certificate.ps1 b/eng/common/scripts/trust-proxy-certificate.ps1 index 144d304cfd1..6138443fe4d 100644 --- a/eng/common/scripts/trust-proxy-certificate.ps1 +++ b/eng/common/scripts/trust-proxy-certificate.ps1 @@ -3,4 +3,7 @@ if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn")) { &$TestProxyTrustCertFn +} +else { + Write-Host "No implementation of TestProxyTrustCertFn provided in eng/scripts/Language-Settings.ps1" } \ No newline at end of file From dc92b050dd4a87cbcd7599e1e04c750ec7e50449 Mon Sep 17 00:00:00 2001 From: scbedd <45376673+scbedd@users.noreply.github.com> Date: Fri, 17 Mar 2023 11:38:03 -0700 Subject: [PATCH 2/3] update messag --- eng/common/scripts/trust-proxy-certificate.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/trust-proxy-certificate.ps1 b/eng/common/scripts/trust-proxy-certificate.ps1 index 6138443fe4d..39389dea586 100644 --- a/eng/common/scripts/trust-proxy-certificate.ps1 +++ b/eng/common/scripts/trust-proxy-certificate.ps1 @@ -5,5 +5,5 @@ if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn")) &$TestProxyTrustCertFn } else { - Write-Host "No implementation of TestProxyTrustCertFn provided in eng/scripts/Language-Settings.ps1" + Write-Host "No implementation of Import-Dev-Cert- provided in eng/scripts/Language-Settings.ps1." } \ No newline at end of file From d22f7a63f6eb6c312019412f1664d00a23db0a77 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Tue, 21 Mar 2023 11:02:50 -0700 Subject: [PATCH 3/3] Update eng/common/scripts/trust-proxy-certificate.ps1 Co-authored-by: Wes Haggard --- eng/common/scripts/trust-proxy-certificate.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eng/common/scripts/trust-proxy-certificate.ps1 b/eng/common/scripts/trust-proxy-certificate.ps1 index 39389dea586..3587ff3eea3 100644 --- a/eng/common/scripts/trust-proxy-certificate.ps1 +++ b/eng/common/scripts/trust-proxy-certificate.ps1 @@ -4,6 +4,7 @@ if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn")) { &$TestProxyTrustCertFn } -else { +else +{ Write-Host "No implementation of Import-Dev-Cert- provided in eng/scripts/Language-Settings.ps1." } \ No newline at end of file