From 72a79ab0735d1f2071da1075e91665e3503447a8 Mon Sep 17 00:00:00 2001 From: Daniel Bozeman Date: Tue, 24 Sep 2013 15:16:17 -0500 Subject: [PATCH] checks for millstone.drainpool only if -l flag is passed --- bin/carto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/carto b/bin/carto index 877f663..2b75a5e 100755 --- a/bin/carto +++ b/bin/carto @@ -58,7 +58,7 @@ if (!existsSync(input)) { function compileMML(err, data) { // force drain the millstone download pool now // to ensure we can exit without waiting - if (millstone.drainPool) { + if (options.localize && millstone.drainPool) { millstone.drainPool(function() {}); } if (err) {