Skip to content

Commit

Permalink
Must be _artifactsLocationSasToken instead of _artifactsLocationsSasToke
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeuer committed Feb 22, 2024
1 parent 49def02 commit 1941b6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if ($artifactslocationParameter -ne $null) {
#if it's not main template, there must not be a defaultValue to ensure the value is passed through
if ($artifactslocationParameter.defaultValue -or
$artifactslocationSasTokenParameter.defaultValue) {
Write-Error "The _artifactsLocation and _artifactsLocationsSasToke parameters in `"$TemplateFileName`" must not have a defaulValue in a nested template." -ErrorId ArtifactsLocation.Parameter.DefaultValue.NotEmpty
Write-Error "The _artifactsLocation and _artifactsLocationSasToken parameters in `"$TemplateFileName`" must not have a defaulValue in a nested template." -ErrorId ArtifactsLocation.Parameter.DefaultValue.NotEmpty
}
}
} # there is a parameter named _artifactsLocation

0 comments on commit 1941b6b

Please sign in to comment.