mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Always set enable_logs in development
This commit is contained in:
@@ -45,7 +45,7 @@ pub const is_canary = BuildOptions.is_canary;
|
||||
pub const canary_revision = if (is_canary) BuildOptions.canary_revision else "";
|
||||
pub const dump_source = isDebug and !isTest;
|
||||
pub const base_path = BuildOptions.base_path ++ "/";
|
||||
pub const enable_logs = BuildOptions.enable_logs;
|
||||
pub const enable_logs = BuildOptions.enable_logs or isDebug;
|
||||
|
||||
pub const version: std.SemanticVersion = BuildOptions.version;
|
||||
pub const version_string = std.fmt.comptimePrint("{d}.{d}.{d}", .{ version.major, version.minor, version.patch });
|
||||
|
||||
Reference in New Issue
Block a user