Skip to content

Commit 99bd13b

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
put back explicit acquiring of token
1 parent 7877a6f commit 99bd13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ if (!$SkipBuild) {
238238
${env:CARGO_SOURCE_crates-io_REPLACE_WITH} = $null
239239
$env:CARGO_REGISTRIES_CRATESIO_INDEX = $null
240240

241-
if ($UseCFSAuth) {
241+
if ($UseCFSAuth -or $null -ne $env:TF_BUILD) {
242242
if ($null -eq (Get-Command 'az' -ErrorAction Ignore)) {
243243
throw "Azure CLI not found"
244244
}

0 commit comments

Comments
 (0)