mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
no more printing except for a diff fail
This commit is contained in:
@@ -225,8 +225,6 @@ export fn zig__ModuleInfo__parseFromSourceCode(
|
||||
source_len: usize,
|
||||
failure_reason: *c_int,
|
||||
) ?*JSModuleRecord {
|
||||
const stderr = std.io.getStdErr().writer();
|
||||
|
||||
const source = source_ptr[0..source_len];
|
||||
const l3 = std.mem.lastIndexOfScalar(u8, source, '\n') orelse return fail(failure_reason, 1);
|
||||
const l2 = std.mem.lastIndexOfScalar(u8, source[0..l3], '\n') orelse return fail(failure_reason, 1);
|
||||
@@ -242,9 +240,6 @@ export fn zig__ModuleInfo__parseFromSourceCode(
|
||||
var res = ModuleInfo.jsonParse(std.heap.c_allocator, json_part) catch return fail(failure_reason, 2);
|
||||
defer res.deinit();
|
||||
|
||||
res.jsonStringify(stderr) catch {};
|
||||
stderr.print("\n", .{}) catch {};
|
||||
|
||||
var identifiers = IdentifierArray.create(res.strings.keys().len);
|
||||
defer identifiers.destroy();
|
||||
for (res.strings.keys(), 0..) |key, i| {
|
||||
|
||||
Reference in New Issue
Block a user