mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -247,6 +247,7 @@ pub const BuildMessage = struct {
|
||||
|
||||
const string = []const u8;
|
||||
|
||||
const BunErrorData = @import("./BunErrorData.zig");
|
||||
const std = @import("std");
|
||||
const Resolver = @import("../resolver//resolver.zig").Resolver;
|
||||
|
||||
@@ -258,5 +259,3 @@ const jsc = bun.jsc;
|
||||
const JSGlobalObject = jsc.JSGlobalObject;
|
||||
const JSValue = jsc.JSValue;
|
||||
const ZigString = jsc.ZigString;
|
||||
|
||||
const BunErrorData = @import("./BunErrorData.zig");
|
||||
|
||||
@@ -38,16 +38,15 @@ pub export fn Bun__errorInstance__finalize(ptr: ?*anyopaque) void {
|
||||
}
|
||||
}
|
||||
|
||||
const BuildMessage = @import("./BuildMessage.zig").BuildMessage;
|
||||
const ResolveMessage = @import("./ResolveMessage.zig").ResolveMessage;
|
||||
|
||||
const bun = @import("bun");
|
||||
const TaggedPointerUnion = bun.TaggedPointerUnion;
|
||||
|
||||
const jsc = bun.jsc;
|
||||
|
||||
pub fn fromJS(value: jsc.JSValue) ?BunErrorData {
|
||||
const ptr = JSC__JSErrorInstance__bunErrorData(value);
|
||||
if (ptr == null) return null;
|
||||
return BunErrorData.from(ptr);
|
||||
}
|
||||
|
||||
const BuildMessage = @import("./BuildMessage.zig").BuildMessage;
|
||||
const ResolveMessage = @import("./ResolveMessage.zig").ResolveMessage;
|
||||
|
||||
const bun = @import("bun");
|
||||
const TaggedPointerUnion = bun.TaggedPointerUnion;
|
||||
const jsc = bun.jsc;
|
||||
|
||||
@@ -312,6 +312,7 @@ pub const ResolveMessage = struct {
|
||||
|
||||
const string = []const u8;
|
||||
|
||||
const BunErrorData = @import("./BunErrorData.zig");
|
||||
const Resolver = @import("../resolver//resolver.zig");
|
||||
const std = @import("std");
|
||||
|
||||
@@ -324,4 +325,3 @@ const strings = bun.strings;
|
||||
const jsc = bun.jsc;
|
||||
const JSGlobalObject = jsc.JSGlobalObject;
|
||||
const ZigString = jsc.ZigString;
|
||||
const BunErrorData = @import("./BunErrorData.zig");
|
||||
|
||||
Reference in New Issue
Block a user