Skip to content

Commit

Permalink
Remove warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jun 15, 2024
1 parent a0929cc commit 1b181b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/fiber/storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def __storage__
end

unless Fiber.current.respond_to?(:storage)
warn "Fiber#storage is missing and being monkey-patched."
prepend Storage

# Get a value from the current fiber's storage.
Expand Down Expand Up @@ -76,7 +75,6 @@ def []=(key, value)
end
end

warn "Fiber#storage has borked keys and is being monkey-patched."
singleton_class.prepend FixBorkedKeys
end
end
Expand Down

0 comments on commit 1b181b8

Please sign in to comment.