Skip to content
Snippets Groups Projects

Users can apply multiple suggestions at once.

Merged Jesse Hall requested to merge jessehall3/gitlab-ee:25486-batch-suggestions into master
3 files
+ 19
18
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -66,7 +66,8 @@ def validate_file_status!(action)
file_path = action[:previous_path] || action[:file_path]
if file_has_changed?(file_path, action[:last_commit_id])
raise_error("The file has changed since you started editing it: #{file_path}")
#raise FileChangedError("The file has changed since you started editing it: #{file_path}")
raise FileChangedError_('The file has changed since you started editing it: %{file_path}') % { file_path: file_path}
end
end
end
Loading