Better handling of failed check function

This commit is contained in:
DianaXWiki 2024-11-04 14:27:28 +02:00
parent e851e723e0
commit 5381ef9604

View File

@ -22,7 +22,7 @@ define([
.then((extPassed) => {
if (!extPassed) {
// Reject if the check didn't pass
resolve(null);
undefined (resolve());
} else {
// Extension passed the check
resolve(_ext);