increase zip sizes

This commit is contained in:
Brian Mann
2018-08-06 08:03:44 -04:00
parent f313dd0b84
commit ff87a47b2e
+1 -1
View File
@@ -39,7 +39,7 @@ checkZipSize = (zipPath) ->
stats = fs.statSync(zipPath)
zipSize = filesize(stats.size, {round: 0})
console.log("zip file size #{zipSize}")
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 235 else 135
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 240 else 140
MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
if stats.size > MAX_ZIP_FILE_SIZE
throw new Error("Zip file is too large: #{zipSize} exceeds #{MAX_ZIP_FILE_SIZE}")