Commit bbbf8e6a authored by Shinya Maeda's avatar Shinya Maeda

Fix comment

parent 1c931f07
...@@ -166,7 +166,7 @@ module Projects ...@@ -166,7 +166,7 @@ module Projects
end end
def delete_artifact! def delete_artifact!
build.reload build.reload # Reload stable object to prevent erase artifacts with old state
build.erase_artifacts! unless build.has_expiring_artifacts? build.erase_artifacts! unless build.has_expiring_artifacts?
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment