Fix typos in cert renewal

This commit is contained in:
Girish Ramakrishnan
2021-09-23 17:47:49 -07:00
parent 3090307c1d
commit 05e8339555
2 changed files with 2 additions and 2 deletions

View File

@@ -675,7 +675,7 @@ async function renewCerts(options, auditSource, progressCallback) {
// hack to check if the app's cert changed or not. this doesn't handle prod/staging le change since they use same file name
let currentNginxConfig = safe.fs.readFileSync(appDomain.nginxConfigFilename, 'utf8') || '';
if (currentNginxConfig.includes(bundle.certFilePath)) return;
if (currentNginxConfig.includes(bundle.certFilePath)) continue;
debug(`renewCerts: creating new nginx config since ${appDomain.nginxConfigFilename} does not have ${bundle.certFilePath}`);