pages: Fix "undefined local variable or method `total_size'" when maximum page size is exceeded
This commit is contained in:
parent
2c1eeb5c73
commit
fd61cd08ce
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue