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
|
||||||
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
|
languages.first
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
# Public: Get all Languages
|
# Public: Get all Languages
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user