mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 04:18:58 +00:00
chore: upgrade zig to 0.13.0 (#9965)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Grigory <grigory.orlov.set@gmail.com> Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com> Co-authored-by: Meghan Denny <hello@nektro.net> Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com> Co-authored-by: John-David Dalton <john.david.dalton@gmail.com> Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com> Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com> Co-authored-by: paperdave <paperdave@users.noreply.github.com> Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
This commit is contained in:
@@ -368,7 +368,7 @@ pub const InitCommand = struct {
|
||||
break :write_package_json;
|
||||
};
|
||||
|
||||
std.os.ftruncate(package_json_file.?.handle, written + 1) catch {};
|
||||
std.posix.ftruncate(package_json_file.?.handle, written + 1) catch {};
|
||||
package_json_file.?.close();
|
||||
}
|
||||
|
||||
@@ -447,7 +447,7 @@ pub const InitCommand = struct {
|
||||
Output.flush();
|
||||
|
||||
if (exists("package.json")) {
|
||||
var process = std.ChildProcess.init(
|
||||
var process = std.process.Child.init(
|
||||
&.{
|
||||
try bun.selfExePath(),
|
||||
"install",
|
||||
|
||||
Reference in New Issue
Block a user