Commit 76cd67b0 authored by Sean McGivern's avatar Sean McGivern Committed by Fatih Acet

Make SCSS lint and RuboCop happy

parent 8b6a075e
...@@ -8,7 +8,7 @@ $origin_gutter: #e0f0ff; ...@@ -8,7 +8,7 @@ $origin_gutter: #e0f0ff;
$selected_origin_gutter: #a3d3ff; $selected_origin_gutter: #a3d3ff;
$selected_origin_line: #cee4f9; $selected_origin_line: #cee4f9;
$unselected_gutter: #eeeeee; $unselected_gutter: #eee;
$unselected_line: #f8f8f8; $unselected_line: #f8f8f8;
...@@ -93,8 +93,8 @@ $unselected_line: #f8f8f8; ...@@ -93,8 +93,8 @@ $unselected_line: #f8f8f8;
button { button {
border-radius: 4px; border-radius: 4px;
border: 1px solid #E1E1E1; border: 1px solid #e1e1e1;
background: #FFF; background: #fff;
font-size: 10px; font-size: 10px;
position: absolute; position: absolute;
right: 20px; right: 20px;
......
...@@ -140,7 +140,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController ...@@ -140,7 +140,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
format.json do format.json do
begin begin
render json: Gitlab::Conflict::FileCollection.new(@merge_request) render json: Gitlab::Conflict::FileCollection.new(@merge_request)
rescue Gitlab::Conflict::Parser::ParserError, Gitlab::Conflict::FileCollection::ConflictSideMissing => e rescue Gitlab::Conflict::Parser::ParserError, Gitlab::Conflict::FileCollection::ConflictSideMissing
render json: { render json: {
message: 'Unable to resolve conflicts in the web interface for this merge request', message: 'Unable to resolve conflicts in the web interface for this merge request',
type: 'error' type: 'error'
......
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