diff options
Diffstat (limited to 'app/models/note_diff_file.rb')
-rw-r--r-- | app/models/note_diff_file.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/models/note_diff_file.rb b/app/models/note_diff_file.rb index 4238de0a2f8..e4936de7b40 100644 --- a/app/models/note_diff_file.rb +++ b/app/models/note_diff_file.rb @@ -19,9 +19,11 @@ class NoteDiffFile < ApplicationRecord def raw_diff_file raw_diff = Gitlab::Git::Diff.new(to_hash) - Gitlab::Diff::File.new(raw_diff, - repository: project.repository, - diff_refs: original_position.diff_refs, - unique_identifier: id) + Gitlab::Diff::File.new( + raw_diff, + repository: project.repository, + diff_refs: original_position.diff_refs, + unique_identifier: id + ) end end |