Skip to content

Commit

Permalink
fix: "Upgrade Bun" message prompts the user to install their current …
Browse files Browse the repository at this point in the history
…version
  • Loading branch information
amatiasq committed Oct 13, 2024
1 parent 3ab157f commit 60c1073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/brisa/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ async function main({
if (!Bun.semver.satisfies(currentBunVersion, '>=' + SUPPORTED_BUN_VERSION)) {
const isWindows = process.platform === 'win32';
const command = isWindows
? `iex "& {$(irm https://bun.sh/install.ps1)} -Version ${currentBunVersion}"`
: `curl -fsSL https://bun.sh/install | bash -s "bun-v${currentBunVersion}"`;
? `iex "& {$(irm https://bun.sh/install.ps1)} -Version ${SUPPORTED_BUN_VERSION}"`
: `curl -fsSL https://bun.sh/install | bash -s "bun-v${SUPPORTED_BUN_VERSION}"`;

console.log(
yellowLog(
Expand Down

0 comments on commit 60c1073

Please sign in to comment.