This commit is contained in:
Girish Ramakrishnan
2022-11-17 11:46:29 +01:00
parent 23cc0d6f0e
commit cd90864bc3

View File

@@ -609,7 +609,7 @@ async function renewCerts(auditSource, progressCallback) {
for (const app of allApps) {
if (app.runState === apps.RSTATE_STOPPED) continue; // do not renew certs of stopped apps
locations = locations.concat(apps.apps.getLocationsSync(app));
locations = locations.concat(apps.getLocationsSync(app));
}
let percent = 1, renewedCertificateNames = [];
@@ -657,7 +657,7 @@ async function cleanupCerts(auditSource, progressCallback) {
for (const app of await apps.list()) {
if (app.runState === apps.RSTATE_STOPPED) continue; // not in use
locations = locations.concat(apps.apps.getLocationsSync(app));
locations = locations.concat(apps.getLocationsSync(app));
}
const certsInUse = [ 'default.cert' ];