Skip to content

Commit

Permalink
Avoid passing block to detected instrumenter
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Mar 5, 2015
1 parent e832652 commit 3dcdc11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/linguist/language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def self.detect(blob)
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

Expand Down

0 comments on commit 3dcdc11

Please sign in to comment.