Skip to content

Commit

Permalink
Should return noop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukendio committed Jul 14, 2024
1 parent 48cc4dc commit 1b6cdd4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,7 @@ do

local EmptyQuery: Query = {
__iter = function(): Item
return function()
return 1
end
return noop
end,
next = noop :: Item,
replace = noop :: (Query, ...any) -> (),
Expand Down

0 comments on commit 1b6cdd4

Please sign in to comment.