aboutsummaryrefslogtreecommitdiff
path: root/misctools/fetch.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-19 00:01:27 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-19 00:01:27 -0700
commitea47ed0ee5969d31e03c55ba3bc384466615e513 (patch)
treef7e40627a41bfbdb626ed4d9fd2fe9adb26710df /misctools/fetch.zig
parent36f9fd607a238fc029d64cc27a26b203a856cbbd (diff)
downloadbun-ea47ed0ee5969d31e03c55ba3bc384466615e513.tar.gz
bun-ea47ed0ee5969d31e03c55ba3bc384466615e513.tar.zst
bun-ea47ed0ee5969d31e03c55ba3bc384466615e513.zip
Fix broken autocomplete
Diffstat (limited to 'misctools/fetch.zig')
-rw-r--r--misctools/fetch.zig10
1 files changed, 5 insertions, 5 deletions
diff --git a/misctools/fetch.zig b/misctools/fetch.zig
index cdefd29d4..991491011 100644
--- a/misctools/fetch.zig
+++ b/misctools/fetch.zig
@@ -1,5 +1,5 @@
const std = @import("std");
-const bun = @import("bun");
+const bun = @import("root").bun;
const string = bun.string;
const Output = bun.Output;
const Global = bun.Global;
@@ -9,18 +9,18 @@ const MutableString = bun.MutableString;
const stringZ = bun.stringZ;
const default_allocator = bun.default_allocator;
const C = bun.C;
-pub usingnamespace @import("bun");
+pub usingnamespace @import("root").bun;
const clap = bun.clap;
const URL = @import("../src/url.zig").URL;
-const Headers = @import("bun").HTTP.Headers;
+const Headers = @import("root").bun.HTTP.Headers;
const Method = @import("../src/http/method.zig").Method;
const ColonListType = @import("../src/cli/colon_list_type.zig").ColonListType;
const HeadersTuple = ColonListType(string, noop_resolver);
const path_handler = @import("../src/resolver/resolve_path.zig");
-const HTTPThread = @import("bun").HTTP.HTTPThread;
-const HTTP = @import("bun").HTTP;
+const HTTPThread = @import("root").bun.HTTP.HTTPThread;
+const HTTP = @import("root").bun.HTTP;
fn noop_resolver(in: string) !string {
return in;
}