File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,6 @@ if (!$SkipBuild) {
237
237
Write-Host " Using CFS for cargo source replacement"
238
238
${env: CARGO_SOURCE_crates-io_REPLACE_WITH} = $null
239
239
$env: CARGO_REGISTRIES_CRATESIO_INDEX = $null
240
- $env: CARGO_REGISTRIES_POWERSHELL_INDEX = " sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell~force-auth/Cargo/index/"
241
240
242
241
if ($UseCFSAuth ) {
243
242
if ($null -eq (Get-Command ' az' - ErrorAction Ignore)) {
@@ -253,6 +252,7 @@ if (!$SkipBuild) {
253
252
$header = " Bearer $accessToken "
254
253
$env: CARGO_REGISTRIES_POWERSHELL_TOKEN = $header
255
254
$env: CARGO_REGISTRIES_POWERSHELL_CREDENTIAL_PROVIDER = ' cargo:token'
255
+ $env: CARGO_REGISTRIES_POWERSHELL_INDEX = " sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell~force-auth/Cargo/index/"
256
256
}
257
257
}
258
258
else {
You can’t perform that action at this time.
0 commit comments