Skip to content

Commit

Permalink
Re-enable
Browse files Browse the repository at this point in the history
  • Loading branch information
strawmelonjuice committed Feb 21, 2024
1 parent f38155d commit 937024d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/jsr.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use crate::logger::logger;

// Bun on windows is enabled by default. This is because choosing to have Bun on windows, means choosing for an experimental feature.

// Javascript runtimes:
// NodeJS:
#[cfg(windows)]
Expand All @@ -8,7 +10,7 @@ pub const NODEJSR: &str = "node.exe";
pub const NODEJSR: &str = "node";
// Bun:
#[cfg(windows)]
pub const BUNJSR: &str = "bun.exe-disabled";
pub const BUNJSR: &str = "bun.exe";
#[cfg(not(windows))]
pub const BUNJSR: &str = "bun";

Expand All @@ -20,13 +22,13 @@ pub const NODE_NPM: &str = "npm.cmd";
pub const NODE_NPM: &str = "npm";
// Bun:
#[cfg(windows)]
pub const BUN_NPM: &str = "bun.exe-disabled";
pub const BUN_NPM: &str = "bun.exe";
#[cfg(windows)]
pub const BUN_NPM_EX: &str = "bunx.exe-disabled";
pub const BUN_NPM_EX: &str = "bunx.exe";
#[cfg(not(windows))]
pub const BUN_NPM: &str = "bun";
#[cfg(not(windows))]
pub const BUN_NPM_EX: &str = "bunx-disabled";
pub const BUN_NPM_EX: &str = "bunx";

// NodeJS:
#[cfg(windows)]
Expand Down

0 comments on commit 937024d

Please sign in to comment.