diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-12-11 19:17:10 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-12-11 19:39:38 +0300 |
commit | 1e4b6cd8e6857555bd3635ba9bd9dce937676cd2 (patch) | |
tree | 563929d8aef006c97c6d77cdf25bbc8bd94e24bd /lib/gitlab/checks | |
parent | eb335bbcfe50e46edb142564824a5d45fbb72e9c (diff) |
Remove now-unnecessary checks
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r-- | lib/gitlab/checks/diff_check.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/checks/diff_check.rb b/lib/gitlab/checks/diff_check.rb index b8697b4a02d..8ee345ab45a 100644 --- a/lib/gitlab/checks/diff_check.rb +++ b/lib/gitlab/checks/diff_check.rb @@ -29,7 +29,7 @@ module Gitlab private def should_run_diff_validations? - newrev && oldrev && !deletion? && validate_lfs_file_locks? + validate_lfs_file_locks? end def validate_lfs_file_locks? |