File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 33registry-auth = true
44
55[registries ]
6- POWERSHELL = { index = " sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index /" }
6+ POWERSHELL = { index = " sparse+https://index.crates.io /" }
77
88[registry ]
99global-credential-providers = [" cargo:token" ]
Original file line number Diff line number Diff line change @@ -229,8 +229,6 @@ if ($null -ne $packageType) {
229229 # # Test if tree-sitter is installed
230230 if ($null -eq (Get-Command tree- sitter - ErrorAction Ignore)) {
231231 Write-Verbose - Verbose " tree-sitter not found, installing..."
232- ${env: CARGO_SOURCE_crates-io_REPLACE_WITH} = ' CRATESIO'
233- $env: CARGO_REGISTRIES_CRATESIO_INDEX = ' sparse+https://index.crates.io/'
234232 cargo install tree- sitter- cli -- config .cargo/ config.toml
235233 if ($LASTEXITCODE -ne 0 ) {
236234 throw " Failed to install tree-sitter-cli"
You can’t perform that action at this time.
0 commit comments