提交 72c99b58 编写于 作者: L Lin Jen-Shin

Remove useless return

上级 5cd7b803
......@@ -21,7 +21,7 @@ module Gitlab
raise FailedToObtainLockError, 'Failed to obtain a lock' unless uuid
return yield
yield
ensure
Gitlab::ExclusiveLease.cancel(key, uuid)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册