mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 06:12:08 +00:00
CI: Remove unused top-level decls in formatter in zig (#19879)
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
const std = @import("std");
|
||||
const bun = @import("bun");
|
||||
const Environment = bun.Environment;
|
||||
const JSC = bun.JSC;
|
||||
const string = bun.string;
|
||||
const Output = bun.Output;
|
||||
const ZigString = JSC.ZigString;
|
||||
const createTypeError = JSC.JSGlobalObject.createTypeErrorInstanceWithCode;
|
||||
const createError = JSC.JSGlobalObject.createErrorInstanceWithCode;
|
||||
const createRangeError = JSC.JSGlobalObject.createRangeErrorInstanceWithCode;
|
||||
|
||||
pub const ERR_INVALID_HANDLE_TYPE = createSimpleError(createTypeError, .ERR_INVALID_HANDLE_TYPE, "This handle type cannot be sent");
|
||||
pub const ERR_CHILD_CLOSED_BEFORE_REPLY = createSimpleError(createError, .ERR_CHILD_CLOSED_BEFORE_REPLY, "Child closed before reply received");
|
||||
|
||||
Reference in New Issue
Block a user