In install script, expect 'v' prefix in release name
This commit is contained in:
parent
894357d1d1
commit
86814ee4d7
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ if (!archName) {
|
|||
throw new Error(`Cannot install tree-sitter-cli for architecture ${process.arch}`);
|
||||
}
|
||||
|
||||
const releaseURL = `https://github.com/tree-sitter/tree-sitter/releases/download/${packageJSON.version}`;
|
||||
const releaseURL = `https://github.com/tree-sitter/tree-sitter/releases/download/v${packageJSON.version}`;
|
||||
const assetName = `tree-sitter-${platformName}-${archName}.gz`;
|
||||
const assetURL = `${releaseURL}/${assetName}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue