Commit fd61cd08 authored by Nick Thomas's avatar Nick Thomas Committed by James Edwards-Jones

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

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment