diff --git a/lib/index.js b/lib/index.js index dc6a427..2d9a175 100644 --- a/lib/index.js +++ b/lib/index.js @@ -113,7 +113,7 @@ export default class Now extends EventEmitter { if (deployment.warnings) { let sizeExceeded = 0; deployment.warnings.forEach(({ reason, sha, limit }) => { - if ('size_exceeded' === reason) { + if ('size_limit_exceeded' === reason) { console.error('> \u001b[31mWarning!\u001b[39m Skipping file %s (size exceeded %s)', hashes.get(sha), bytes(limit)