From c0eb36927d43ff4a192cdcb9fb62f537f45137a4 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 144d304cfd..6138443fe4 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 d2da3aca58dc2ae5d421bda198b9ca5572f478e8 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 6138443fe4..39389dea58 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 7c1ca5682d28496eb39888a5df2633deff140988 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 39389dea58..3587ff3eea 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