diff options
author | 2022-03-08 18:54:54 -0800 | |
---|---|---|
committer | 2022-03-08 18:54:54 -0800 | |
commit | 701d6ec45d7e339b352b37869bd2a7d4849b35fb (patch) | |
tree | a88a0b03a2e644d5e1bd51eb609526b75f78ef53 /src/cli/upgrade_command.zig | |
parent | 787769ac3912fce6d1ffdbd384f19b800e133362 (diff) | |
download | bun-701d6ec45d7e339b352b37869bd2a7d4849b35fb.tar.gz bun-701d6ec45d7e339b352b37869bd2a7d4849b35fb.tar.zst bun-701d6ec45d7e339b352b37869bd2a7d4849b35fb.zip |
rename _global -> bun
Diffstat (limited to 'src/cli/upgrade_command.zig')
-rw-r--r-- | src/cli/upgrade_command.zig | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/cli/upgrade_command.zig b/src/cli/upgrade_command.zig index ce05a1dfc..b66e1e9da 100644 --- a/src/cli/upgrade_command.zig +++ b/src/cli/upgrade_command.zig @@ -1,13 +1,13 @@ -const _global = @import("../global.zig"); -const string = _global.string; -const Output = _global.Output; -const Global = _global.Global; -const Environment = _global.Environment; -const strings = _global.strings; -const MutableString = _global.MutableString; -const stringZ = _global.stringZ; -const default_allocator = _global.default_allocator; -const C = _global.C; +const bun = @import("../global.zig"); +const string = bun.string; +const Output = bun.Output; +const Global = bun.Global; +const Environment = bun.Environment; +const strings = bun.strings; +const MutableString = bun.MutableString; +const stringZ = bun.stringZ; +const default_allocator = bun.default_allocator; +const C = bun.C; const std = @import("std"); const lex = @import("../js_lexer.zig"); @@ -120,10 +120,10 @@ pub const UpgradeCheckerThread = struct { pub const UpgradeCommand = struct { pub const timeout: u32 = 30000; const default_github_headers: string = "Acceptapplication/vnd.github.v3+json"; - var github_repository_url_buf: [_global.MAX_PATH_BYTES]u8 = undefined; - var current_executable_buf: [_global.MAX_PATH_BYTES]u8 = undefined; - var unzip_path_buf: [_global.MAX_PATH_BYTES]u8 = undefined; - var tmpdir_path_buf: [_global.MAX_PATH_BYTES]u8 = undefined; + var github_repository_url_buf: [bun.MAX_PATH_BYTES]u8 = undefined; + var current_executable_buf: [bun.MAX_PATH_BYTES]u8 = undefined; + var unzip_path_buf: [bun.MAX_PATH_BYTES]u8 = undefined; + var tmpdir_path_buf: [bun.MAX_PATH_BYTES]u8 = undefined; pub fn getLatestVersion( allocator: std.mem.Allocator, |