From 5fa13625a1ca0ea1a3a1c5bb86d0880dcfac349f Mon Sep 17 00:00:00 2001 From: Dylan Conway <35280289+dylan-conway@users.noreply.github.com> Date: Wed, 21 Jun 2023 23:38:18 -0700 Subject: upgrade zig to `v0.11.0-dev.3737+9eb008717` (#3374) * progress * finish `@memset/@memcpy` update * Update build.zig * change `@enumToInt` to `@intFromEnum` and friends * update zig versions * it was 1 * add link to issue * add `compileError` reminder * fix merge * format * upgrade to llvm 16 * Revert "upgrade to llvm 16" This reverts commit cc930ceb1c5b4db9614a7638596948f704544ab8. --------- Co-authored-by: Jarred Sumner Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> --- src/cli/init_command.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli/init_command.zig') diff --git a/src/cli/init_command.zig b/src/cli/init_command.zig index c7f566836..9b5ad7144 100644 --- a/src/cli/init_command.zig +++ b/src/cli/init_command.zig @@ -112,7 +112,7 @@ pub const InitCommand = struct { if (package_json_file) |pkg| { const stat = pkg.stat() catch break :read_package_json; - if (stat.kind != .File or stat.size == 0) { + if (stat.kind != .file or stat.size == 0) { break :read_package_json; } package_json_contents = try MutableString.init(alloc, stat.size); -- cgit v1.2.3