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,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
#