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;
$selected_origin_gutter: #a3d3ff;
$selected_origin_line: #cee4f9;
$unselected_gutter: #eeeeee;
$unselected_gutter: #eee;
$unselected_line: #f8f8f8;
......@@ -93,8 +93,8 @@ $unselected_line: #f8f8f8;
button {
border-radius: 4px;
border: 1px solid #E1E1E1;
background: #FFF;
border: 1px solid #e1e1e1;
background: #fff;
font-size: 10px;
position: absolute;
right: 20px;
......
......@@ -140,7 +140,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
format.json do
begin
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: {
message: 'Unable to resolve conflicts in the web interface for this merge request',
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