提交 fd61cd08 编写于 作者: N Nick Thomas 提交者: James Edwards-Jones

pages: Fix "undefined local variable or method `total_size'" when maximum page size is exceeded

上级 2c1eeb5c
......@@ -85,7 +85,7 @@ module Projects
public_entry = build.artifacts_metadata_entry(SITE_PATH, recursive: true)
if public_entry.total_size > max_size
raise "artifacts for pages are too large: #{total_size}"
raise "artifacts for pages are too large: #{public_entry.total_size}"
end
# Requires UnZip at least 6.00 Info-ZIP.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册