mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-06 06:29:45 -06:00
bump max size for windows zip
This commit is contained in:
@@ -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 200 else 130
|
||||
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 230 else 130
|
||||
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}")
|
||||
|
||||
Reference in New Issue
Block a user