Skip to content

Commit

Permalink
Code review improvment
Browse files Browse the repository at this point in the history
Co-authored-by: James Bunch <fallwith@gmail.com>
  • Loading branch information
hannahramadan and fallwith authored Jan 4, 2024
1 parent 4899dfd commit 5e2ff03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/new_relic/local_environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ def check_for_puma

def check_for_falcon
if defined?(::Falcon::Server) && NewRelic::LanguageSupport.object_space_usable?
v = find_class_in_object_space(::Falcon::Server)
@discovered_dispatcher = :falcon if v
@discovered_dispatcher = :falcon if find_class_in_object_space(::Falcon::Server)
end
end

Expand Down

0 comments on commit 5e2ff03

Please sign in to comment.