Skip to content
Permalink
Browse files

refs #18835: Fix Style/MultilineWhenThen offences.

  • Loading branch information...
jigarius committed Aug 28, 2019
1 parent 850022d commit ca76c8f87dde1a840da28cdb28fb92e237fac69d
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/sitediff/result.rb
@@ -76,11 +76,11 @@ def diff_url
# Log the result to the terminal
def log(verbose = true)
case status
when STATUS_SUCCESS then
when STATUS_SUCCESS
SiteDiff.log path, :diff_success, 'UNCHANGED'
when STATUS_ERROR then
when STATUS_ERROR
SiteDiff.log path + " (#{error})", :warn, 'ERROR'
when STATUS_FAILURE then
when STATUS_FAILURE
SiteDiff.log path, :diff_failure, 'CHANGED'
puts Diff.terminal_diffy(before, after) if verbose
end

0 comments on commit ca76c8f

Please sign in to comment.
You can’t perform that action at this time.