From 11faa9932f8ac50db13421db9d7e89c2568895fc 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 144d304cf..6138443fe 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 3bee60b3bc3b2b3bc4f02ee6610fe3f404453512 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 6138443fe..39389dea5 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 524436df6b31f8a1bf168471f02c70c476f292a6 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 39389dea5..3587ff3ee 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