checks for millstone.drainpool only if -l flag is passed
This commit is contained in:
parent
f6dea7fcb3
commit
72a79ab073
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user