Skip to content
Snippets Groups Projects
Commit 3446bea7 authored by Stan Hu's avatar Stan Hu
Browse files

Fix Style/CaseIndentation cop violations

parent 359ed486
No related branches found
No related tags found
No related merge requests found
Loading
@@ -98,16 +98,16 @@ describe 'Gitlab::Satellite::Action' do
Loading
@@ -98,16 +98,16 @@ describe 'Gitlab::Satellite::Action' do
def flocked?(&block) def flocked?(&block)
status = flock LOCK_EX|LOCK_NB status = flock LOCK_EX|LOCK_NB
case status case status
when false when false
return true return true
when 0 when 0
begin begin
block ? block.call : false block ? block.call : false
ensure ensure
flock LOCK_UN flock LOCK_UN
end end
else else
raise SystemCallError, status raise SystemCallError, status
end end
end end
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment