diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-11-14 11:55:57 +0300 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-11-14 11:55:57 +0300 |
commit | 3797cfbd392df9a73f709126c837725622116f17 (patch) | |
tree | 82396e736304626b30fcbcbf298f6b99c14776a4 /lib/gitlab/checks | |
parent | a407bba81a3fbd8b3313bc84e1ddf0ab4415207d (diff) |
Fix bug in CommitCheck
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r-- | lib/gitlab/checks/commit_check.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/checks/commit_check.rb b/lib/gitlab/checks/commit_check.rb index 6dd74e8fb74..58267b6752f 100644 --- a/lib/gitlab/checks/commit_check.rb +++ b/lib/gitlab/checks/commit_check.rb @@ -10,8 +10,8 @@ module Gitlab def initialize(project, user, newrev, oldrev) @project = project @user = user - @newrev = user - @oldrev = user + @newrev = newrev + @oldrev = oldrev @file_paths = [] end |