Skip to content

Commit

Permalink
Update certificate.js
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Sep 30, 2024
1 parent cba0ccd commit 87aa0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ const internalCertificate = {
return utils
.exec(mainCmd)
.then(async (result) => {
await fs.rm('/data/tls/certbot/credentials/credentials-' + certificate.id, { force: true });
await fs.rm('/data/tls/certbot/credentials/credentials-' + certificate.id, { force: true }, err);

Check failure on line 938 in backend/internal/certificate.js

View workflow job for this annotation

GitHub Actions / update-and-lint

'err' is not defined
logger.info(result);
return result;
})
Expand Down

0 comments on commit 87aa0c0

Please sign in to comment.