Avoid passing block to detected instrumenter

This commit is contained in:
Brandon Keepers
2015-03-05 10:03:51 -08:00
parent e8326529b5
commit 3dcdc11c1b

View File

@@ -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