Skip to content

Commit

Permalink
[fix] Warn on 30M instead of 50M
Browse files Browse the repository at this point in the history
  • Loading branch information
julianduque committed Dec 6, 2013
1 parent 6fd8873 commit 17c7ca3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/jitsu/package.js
Expand Up @@ -423,9 +423,9 @@ package.updateTarball = function (version, pkg, existing, firstSnapshot, callbac

if (err) return callback(err);

// XXX Is 50mb enough? Please warning message
if (stat.size > 50 * 1024 * 1024) {
jitsu.log.warn('Snapshot is larger than ' + '50M'.magenta + '!');
// XXX Is 30mb enough? Please warning message
if (stat.size > 30 * 1024 * 1024) {
jitsu.log.warn('Snapshot is larger than ' + '30M'.magenta + '!');
jitsu.log.warn('This is not recommended practice.');
}

Expand Down

0 comments on commit 17c7ca3

Please sign in to comment.