diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2015-10-15 10:42:48 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2015-10-15 12:05:01 +0200 |
commit | bed29940efc0c76dd966b26acb5dfb00d61e601e (patch) | |
tree | f54ad5b5953b2289bfb5566b3efe469505c3cbdb /config | |
parent | e5925d073ea09072790856da1569865d5c45e408 (diff) | |
download | gitlab-ce-bed29940efc0c76dd966b26acb5dfb00d61e601e.tar.gz |
Fixed Rubocop styling issues
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/rack_lineprof.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/initializers/rack_lineprof.rb b/config/initializers/rack_lineprof.rb index 80d232c3d36..f0c006d811b 100644 --- a/config/initializers/rack_lineprof.rb +++ b/config/initializers/rack_lineprof.rb @@ -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 |