Commit eb335bbc authored by Stan Hu's avatar Stan Hu Committed by Douwe Maan

Fix DiffCheck failing due to invalid string argument

Hot patch for #55137
parent 85f430cb
......@@ -11,6 +11,7 @@ module Gitlab
}.freeze
def validate!
return if deletion? || newrev.nil?
return unless should_run_diff_validations?
return if commits.empty?
return unless uses_raw_delta_validations?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment