Commit 8a1738c7 authored by Rajendra Kadam's avatar Rajendra Kadam

Remove explicit nil

parent 2cb432c3
......@@ -30,10 +30,10 @@ module Gitlab
unless skip_validation?
self.class.schemer.validate(attributes.stringify_keys).each do |error|
error_message = <<~ERROR_MSG
Error type: #{error['type'] || nil}
Data: #{error['data'] || nil}
Path: #{error['data_pointer'] || nil}
Details: #{error['details'] || nil}
Error type: #{error['type']}
Data: #{error['data']}
Path: #{error['data_pointer']}
Details: #{error['details']}
Metric file: #{path}
ERROR_MSG
......
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