Skip to content

Commit 40ed046

Browse files
committed
Replace config
1 parent cd2a887 commit 40ed046

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
registry-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]
99
global-credential-providers = ["cargo:token"]

build.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)