Skip to content

Commit

Permalink
fix: path to correct binary (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Aug 20, 2023
1 parent 5d8f82a commit 4b26fd1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion editors/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "biomejs",
"displayName": "Biome",
"description": "Biome LSP VS Code Extension",
"version": "0.1.4",
"version": "0.2.0",
"icon": "icon.png",
"activationEvents": [
"onLanguage:javascript",
Expand Down
14 changes: 7 additions & 7 deletions packages/@biomejs/biome/bin/biome
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ const { platform, arch, env, version, release } = process;

const PLATFORMS = {
win32: {
x64: "@biomejs/cli-win32-x64/rome.exe",
arm64: "@biomejs/cli-win32-arm64/rome.exe",
x64: "@biomejs/cli-win32-x64/biome.exe",
arm64: "@biomejs/cli-win32-arm64/biome.exe",
},
darwin: {
x64: "@biomejs/cli-darwin-x64/rome",
arm64: "@biomejs/cli-darwin-arm64/rome",
x64: "@biomejs/cli-darwin-x64/biome",
arm64: "@biomejs/cli-darwin-arm64/biome",
},
linux: {
x64: "@biomejs/cli-linux-x64/rome",
arm64: "@biomejs/cli-linux-arm64/rome",
x64: "@biomejs/cli-linux-x64/biome",
arm64: "@biomejs/cli-linux-arm64/biome",
},
};

Expand Down Expand Up @@ -41,7 +41,7 @@ if (binPath) {
} else {
console.error(
"The Biome CLI package doesn't ship with prebuilt binaries for your platform yet. " +
"You can still use the CLI by cloning the rome/tools repo from GitHub, " +
"You can still use the CLI by cloning the biome/tools repo from GitHub, " +
"and follow the instructions there to build the CLI for your platform.",
);
process.exitCode = 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/biome/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/biome",
"version": "0.1.2",
"version": "0.2.0",
"bin": "bin/biome",
"scripts": {
"postinstall": "node scripts/postinstall.js"
Expand Down

0 comments on commit 4b26fd1

Please sign in to comment.