increase max zip size

This commit is contained in:
Gleb Bahmutov
2017-10-04 17:36:42 -04:00
parent 4fed3145e6
commit 46bbca13da
+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_ZIP_FILE_SIZE = megaBytes(150)
MAX_ZIP_FILE_SIZE = megaBytes(200)
if stats.size > MAX_ZIP_FILE_SIZE
throw new Error("Zip file is too large: #{zipSize}")