mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Avoid passing block to detected instrumenter
This commit is contained in:
@@ -125,11 +125,11 @@ module Linguist
|
||||
end
|
||||
end
|
||||
|
||||
Linguist.instrument("linguist.detected", :blob => blob, :strategy => strategy, :language => languages.first) do
|
||||
Linguist.instrument("linguist.detected", :blob => blob, :strategy => strategy, :language => languages.first)
|
||||
|
||||
languages.first
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Public: Get all Languages
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user