mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
fix: do not inline process.env during bun run and bun test (#7614)
* env stuff * ok * undo * remove unused param * resolve review comment * dupe * it compiles now i promise
This commit is contained in:
@@ -224,7 +224,7 @@ pub const Loader = struct {
|
||||
behavior: Api.DotEnvBehavior,
|
||||
prefix: string,
|
||||
allocator: std.mem.Allocator,
|
||||
) ![]u8 {
|
||||
) !void {
|
||||
var iter = this.map.iter();
|
||||
var key_count: usize = 0;
|
||||
var string_map_hashes = try allocator.alloc(u64, framework_defaults.keys.len);
|
||||
@@ -367,8 +367,6 @@ pub const Loader = struct {
|
||||
_ = try to_json.getOrPutValue(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
return key_buf;
|
||||
}
|
||||
|
||||
pub fn init(map: *Map, allocator: std.mem.Allocator) Loader {
|
||||
|
||||
Reference in New Issue
Block a user