Skip to content
Snippets Groups Projects
Commit fd61cd08 authored by Nick Thomas's avatar Nick Thomas Committed by James Edwards-Jones
Browse files

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

parent 2c1eeb5c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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.
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