From b4124857caf95202e544758c7022c9f3b806ca20 Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Thu, 23 May 2024 15:05:01 +0000 Subject: [PATCH] Refactor (entrypoint): Tweak order of preference variables --- src/scripts/ci/Invoke-Generate.ps1 | 2 +- src/scripts/ci/Invoke-Release.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/ci/Invoke-Generate.ps1 b/src/scripts/ci/Invoke-Generate.ps1 index 63189ef..6d36633 100644 --- a/src/scripts/ci/Invoke-Generate.ps1 +++ b/src/scripts/ci/Invoke-Generate.ps1 @@ -37,10 +37,10 @@ $env:RELEASE_NOTES_PATH = '/path/to/.release-notes.md' #> +Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' $ErrorView = 'NormalView' $VerbosePreference = 'Continue' -Set-StrictMode -Version Latest try { Push-Location $PSScriptRoot diff --git a/src/scripts/ci/Invoke-Release.ps1 b/src/scripts/ci/Invoke-Release.ps1 index f36b08d..f312bb8 100644 --- a/src/scripts/ci/Invoke-Release.ps1 +++ b/src/scripts/ci/Invoke-Release.ps1 @@ -1,10 +1,10 @@ [CmdletBinding()] param() +Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' $ErrorView = 'NormalView' $VerbosePreference = 'Continue' -Set-StrictMode -Version Latest try { Push-Location $PSScriptRoot