Avoid swallowing rejected font listing promise

This commit is contained in:
Tim Schaub
2017-10-23 09:59:12 -06:00
parent 5ed632c229
commit 650718e0f6
+2 -4
View File
@@ -54,9 +54,7 @@ module.exports = function(options, allowedFonts) {
); );
}); });
return new Promise(function(resolve, reject) { return fontListingPromise.then(function() {
fontListingPromise.then(function() { return app;
resolve(app);
});
}); });
}; };