Skip to content
Snippets Groups Projects
Commit b4d9d4db authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Fix bad naming

parent 1a7d9346
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
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