Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-09-01 04:28:29 +0300
committerRobert Speicher <rspeicher@gmail.com>2018-09-01 04:29:37 +0300
commit94531f76d470189c50e679c671ff5430d18a88ba (patch)
treea72f22189c2c1a31d0058d0dc44e5a0de43d29d2 /app/views/discussions/_diff_with_notes.html.haml
parent6dc252e4066d4e9100954f51e357bdaaffba6e64 (diff)
Correct remaining `Lint/UselessAssignment` haml-lint violations
Diffstat (limited to 'app/views/discussions/_diff_with_notes.html.haml')
-rw-r--r--app/views/discussions/_diff_with_notes.html.haml2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/discussions/_diff_with_notes.html.haml b/app/views/discussions/_diff_with_notes.html.haml
index 646e89e9bd1..44c898e0fac 100644
--- a/app/views/discussions/_diff_with_notes.html.haml
+++ b/app/views/discussions/_diff_with_notes.html.haml
@@ -1,6 +1,4 @@
- diff_file = discussion.diff_file
-- blob = discussion.blob
-- discussions = { discussion.original_line_code => [discussion] }
- diff_file_class = diff_file.text? ? 'text-file' : 'js-image-file'
- diff_data = {}
- expanded = discussion.expanded? || local_assigns.fetch(:expanded, nil)