提交 b4d9d4db 编写于 作者: S Shinya Maeda

Fix bad naming

上级 1a7d9346
......@@ -51,13 +51,13 @@ module Projects
super
end
def error(message, delete_artifact = true)
def error(message, allow_delete_artifact = true)
register_failure
log_error("Projects::UpdatePagesService: #{message}")
@status.allow_failure = !latest?
@status.description = message
@status.drop(:script_failure)
delete_artifact! if delete_artifact
delete_artifact! if allow_delete_artifact
super
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册