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 3
3
registry-auth = true
4
4
5
5
[registries ]
6
- POWERSHELL = { index = " sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index /" }
6
+ POWERSHELL = { index = " sparse+https://index.crates.io /" }
7
7
8
8
[registry ]
9
9
global-credential-providers = [" cargo:token" ]
Original file line number Diff line number Diff line change @@ -229,8 +229,6 @@ if ($null -ne $packageType) {
229
229
# # Test if tree-sitter is installed
230
230
if ($null -eq (Get-Command tree- sitter - ErrorAction Ignore)) {
231
231
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/'
234
232
cargo install tree- sitter- cli -- config .cargo/ config.toml
235
233
if ($LASTEXITCODE -ne 0 ) {
236
234
throw " Failed to install tree-sitter-cli"
You can’t perform that action at this time.
0 commit comments