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,9 +125,9 @@ module Linguist
|
||||
end
|
||||
end
|
||||
|
||||
Linguist.instrument("linguist.detected", :blob => blob, :strategy => strategy, :language => languages.first) do
|
||||
languages.first
|
||||
end
|
||||
Linguist.instrument("linguist.detected", :blob => blob, :strategy => strategy, :language => languages.first)
|
||||
|
||||
languages.first
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user