Selaa lähdekoodia

Fix startup hang due to unresolved promise

Affects instances where there are certs but none
of them are dns validated
Jamie Curnow 1 vuosi sitten
vanhempi
sitoutus
da820db4e1
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      backend/lib/certbot.js

+ 1 - 0
backend/lib/certbot.js

@@ -16,6 +16,7 @@ const certbot = {
 
 		return new Promise((resolve, reject) => {
 			if (pluginKeys.length === 0) {
+				resolve();
 				return;
 			}