From a510eada876ebc9bab5e0b24c07495558bba9af9 Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Sat, 1 Jun 2024 02:47:35 +0000 Subject: [PATCH] Fix (entrypoint): Fix error message for environment variable `PROJECT_DIRECTORY` --- 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 8cb34f6..a71919c 100644 --- a/src/scripts/ci/Invoke-Generate.ps1 +++ b/src/scripts/ci/Invoke-Generate.ps1 @@ -55,7 +55,7 @@ try { $private:ProjectDir = $private:superProjectDir "Using superproject directory '$private:ProjectDir'" | Write-Verbose }else { - throw "`$env:PROJECT_DIRECTORY is undefined or superproject directory cannot be determined." | Write-Verbose + throw "`$env:PROJECT_DIRECTORY is undefined or superproject directory cannot be determined." } } $private:generateArgs = @{ diff --git a/src/scripts/ci/Invoke-Release.ps1 b/src/scripts/ci/Invoke-Release.ps1 index d7409c3..1e181fa 100644 --- a/src/scripts/ci/Invoke-Release.ps1 +++ b/src/scripts/ci/Invoke-Release.ps1 @@ -20,7 +20,7 @@ try { $private:ProjectDir = $private:superProjectDir "Using superproject directory '$private:ProjectDir'" | Write-Verbose }else { - throw "`$env:PROJECT_DIRECTORY is undefined or superproject directory cannot be determined." | Write-Verbose + throw "`$env:PROJECT_DIRECTORY is undefined or superproject directory cannot be determined." } } $private:createReleaseArgs = @{