Commit bed29940 authored by Yorick Peterse's avatar Yorick Peterse

Fixed Rubocop styling issues

parent e5925d07
......@@ -62,7 +62,7 @@ class Note < ActiveRecord::Base
scope :with_associations, -> do
includes(:author, :noteable, :updated_by,
project: [:project_members, {group: [:group_members]}])
project: [:project_members, { group: [:group_members] }])
end
serialize :st_diff
......
......@@ -9,10 +9,10 @@ if Rails.env.development? and RUBY_ENGINE == 'ruby' and ENV['ENABLE_LINEPROF']
class Sample < Rack::Lineprof::Sample.superclass
def format(*)
formatted = if level == CONTEXT
sprintf " | % 3i %s", line, code
else
sprintf "% 8.1fms %5i | % 3i %s", ms, calls, line, code
end
sprintf " | % 3i %s", line, code
else
sprintf "% 8.1fms %5i | % 3i %s", ms, calls, line, code
end
case level
when CRITICAL
......
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