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

Explicitly set to nil when artifacts don't exist:

Feedback from:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4964#note_12867273
上级 596f4688
......@@ -384,6 +384,8 @@ module Ci
def update_artifacts_size
self.artifacts_size = if artifacts_file.exists?
artifacts_file.size
else
nil
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册