mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-25 10:30:39 -06:00
Update regex for matching Cypress version in tests to replace more version types (#7927)
* Update regex for matching Cypress version to replace more version types * Increase max zip size from 190 to 200
This commit is contained in:
@@ -73,7 +73,7 @@ const checkZipSize = function (zipPath) {
|
||||
const zipSize = filesize(stats.size, { round: 0 })
|
||||
|
||||
console.log(`zip file size ${zipSize}`)
|
||||
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 245 : 190
|
||||
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 245 : 200
|
||||
const MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
|
||||
|
||||
if (stats.size > MAX_ZIP_FILE_SIZE) {
|
||||
|
||||
Reference in New Issue
Block a user