checks for millstone.drainpool only if -l flag is passed

cdb-prod
Daniel Bozeman 11 years ago
parent f6dea7fcb3
commit 72a79ab073

@ -58,7 +58,7 @@ if (!existsSync(input)) {
function compileMML(err, data) { function compileMML(err, data) {
// force drain the millstone download pool now // force drain the millstone download pool now
// to ensure we can exit without waiting // to ensure we can exit without waiting
if (millstone.drainPool) { if (options.localize && millstone.drainPool) {
millstone.drainPool(function() {}); millstone.drainPool(function() {});
} }
if (err) { if (err) {

Loading…
Cancel
Save