fix inverted logic for allowing/disallowing paths field

This commit is contained in:
Andrew Kelley
2023-10-06 22:02:33 -07:00
parent aed6adb6e9
commit ddb7c40037
2 changed files with 2 additions and 2 deletions

View File

@@ -486,7 +486,7 @@ fn queueJobsForDeps(f: *Fetch, hash: Manifest.MultiHashHexDigest) RunError!void
.prog_node = f.prog_node,
.job_queue = f.job_queue,
.omit_missing_hash_error = false,
.allow_missing_paths_field = false,
.allow_missing_paths_field = true,
.package_root = undefined,
.error_bundle = undefined,

View File

@@ -4863,7 +4863,7 @@ pub fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !voi
.prog_node = root_prog_node,
.job_queue = &job_queue,
.omit_missing_hash_error = true,
.allow_missing_paths_field = true,
.allow_missing_paths_field = false,
.package_root = undefined,
.error_bundle = undefined,