Make deploy pretty also

Still pausing until we merge in the minification changes
This commit is contained in:
Justin SB
2014-09-19 16:20:58 -07:00
committed by Nick Martin
parent db11a5de0b
commit cdb840a577
2 changed files with 4 additions and 3 deletions

View File

@@ -903,6 +903,7 @@ main.registerCommand({
main.registerCommand({
name: 'deploy',
pretty: true,
minArgs: 1,
maxArgs: 1,
options: {

View File

@@ -219,10 +219,10 @@ _.extend(exports, {
var bodyStreamLength = 0;
if (bodyStream) {
// XXX
bodyStreamLength += 4000000;
// XXX Horrible hack... we need the correct length estimate
bodyStreamLength += 8000000;
}
// XXX
// XXX A default non-zero resposne size; if much bigger we should provide an estimate
var responseLength = 128 * 1024;
var totalProgress = { current: 0, end: bodyStreamLength + responseLength, done: false };