From 937024d6ca9f472906cc77f5528c2bbb7880fb7f Mon Sep 17 00:00:00 2001 From: Mar Date: Wed, 21 Feb 2024 23:39:03 +0100 Subject: [PATCH] Re-enable --- src/jsr.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/jsr.rs b/src/jsr.rs index a6872a5..ecac0b0 100644 --- a/src/jsr.rs +++ b/src/jsr.rs @@ -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)] @@ -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"; @@ -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)]