Skip to content

Commit 86814ee

Browse files
committed
In install script, expect 'v' prefix in release name
1 parent 894357d commit 86814ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/npm/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (!archName) {
2424
throw new Error(`Cannot install tree-sitter-cli for architecture ${process.arch}`);
2525
}
2626

27-
const releaseURL = `https://github.com/tree-sitter/tree-sitter/releases/download/${packageJSON.version}`;
27+
const releaseURL = `https://github.com/tree-sitter/tree-sitter/releases/download/v${packageJSON.version}`;
2828
const assetName = `tree-sitter-${platformName}-${archName}.gz`;
2929
const assetURL = `${releaseURL}/${assetName}`;
3030

0 commit comments

Comments
 (0)