Skip to content
Permalink
Browse files

[fix] Warn on 30M instead of 50M

  • Loading branch information...
julianduque committed Dec 6, 2013
1 parent 6fd8873 commit 17c7ca3d7904e786d5877008b2c1376d84e27863
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/jitsu/package.js
@@ -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.');
}

0 comments on commit 17c7ca3

Please sign in to comment.
You can’t perform that action at this time.