minor changes

This commit is contained in:
Dmitry Shibanov
2020-01-24 10:49:02 +03:00
parent 5e897e989e
commit 87a3b79da5

View File

@@ -86,10 +86,10 @@ Function GenerateResourcesAndImage {
[Switch] $Force
)
if (([string]::IsNullOrEmpty($version)))
if (([string]::IsNullOrEmpty($GithubFeedToken)))
{
Write-Error "You have to specify valid GitHub PAT to dowload tool packages from GitHub Package Registry"
exit 0
Write-Error "You have to specify valid GitHub PAT to download tool packages from GitHub Package Registry"
exit 1
}
$builderScriptPath = Get-PackerTemplatePath -RepositoryRoot $ImageGenerationRepositoryRoot -ImageType $ImageType