Switched from downloading zips to downloading tarballs, as the unzip module was randomly sucking.
This commit is contained in:
@ -58,7 +58,7 @@ Log.prototype.close = function () {
|
||||
console.error('Something is still listening for log events, but the logger is closing.');
|
||||
this.clearAllListeners();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Levels observed by the loggers, ordered by rank
|
||||
|
||||
@ -1960,6 +1960,9 @@ api.indices.prototype.getTemplate = ca({
|
||||
type: 'string'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
fmt: '/_template'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@ -58,7 +58,7 @@ Log.prototype.close = function () {
|
||||
console.error('Something is still listening for log events, but the logger is closing.');
|
||||
this.clearAllListeners();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Levels observed by the loggers, ordered by rank
|
||||
|
||||
@ -385,13 +385,8 @@ utils.applyArgs = function (func, context, args, sliceIndex) {
|
||||
* @return {[type]} [description]
|
||||
*/
|
||||
_.nextTick = function (cb) {
|
||||
console.log('tick');
|
||||
var args = Array.prototype.slice.call(arguments, 1);
|
||||
// bind the function and schedule it
|
||||
process.nextTick(function () {
|
||||
console.log('tock');
|
||||
cb.apply(null, args);
|
||||
});
|
||||
process.nextTick(_.bindKey(_, 'applyArgs', cb, null, arguments, 1));
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user