Merge pull request #2894 from pchaigno/fix-warnings

Fix warnings
This commit is contained in:
Paul Chaignon
2016-03-20 03:42:32 +01:00
committed by Arfon Smith
parent b1f5e93b4a
commit 270fa8f5d3
7 changed files with 13 additions and 9 deletions

View File

@@ -30,6 +30,9 @@ module Linguist
@repository = repo
@commit_oid = commit_oid
@old_commit_oid = nil
@old_stats = nil
raise TypeError, 'commit_oid must be a commit SHA1' unless commit_oid.is_a?(String)
end