提交 49ff3d9c 编写于 作者: S Shinya Maeda

Use size.to_i instead of if-condition

上级 526656e6
......@@ -70,7 +70,7 @@ module Ci
end
def update_project_statistics_after_destroy
update_project_statistics(-self.size) if self.size
update_project_statistics(-self.size.to_i)
end
def update_project_statistics(difference)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册