We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dca1d2 commit 02d7cb2Copy full SHA for 02d7cb2
1 file changed
src/DocumentStore.zig
@@ -405,7 +405,7 @@ pub const Handle = struct {
405
switch (self.impl.associated_build_file) {
406
.none => return &.{},
407
.unresolved => |unresolved| return unresolved.potential_build_files, // some of these could be removed because of `has_been_checked`
408
- .resolved => |build_file| return &.{build_file},
+ .resolved => |*build_file| return build_file[0..1],
409
}
410
411
0 commit comments