Verified Commit 0d12deed authored by Luc Didry's avatar Luc Didry

Show size of files contained in zip

parent cf1fc627
Pipeline #128574 passed with stages
in 2 minutes and 56 seconds
......@@ -130,7 +130,7 @@ function spawnWebsocket(pa) {
.then(function (zip) {
var innerHTML = ['<h3>Zip content:</h3><ul>'];
zip.forEach(function (relativePath, zipEntry) {
innerHTML.push('<li>',, '</li>');
innerHTML.push('<li>',, ' (', filesize(zipEntry._data.uncompressedSize, {base: 10}), ')</li>');
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