Fixed typo.
Ylian Saint-Hilaire committed
May 29, 2022 at 11:19 UTC
6a5ceff0add421bc89a3cef4f0c5279e99a9c42d
2 files changed
+2
-2
authenticode.js
+1
-1
@@ -450,4 +450,4 @@ if (require.main === module) { start(); }
450
451
// Exports
452
module.exports.createAuthenticodeHandler = createAuthenticodeHandler;
453
-module.exports.loadCertificates = loadCertificates;
\ No newline at end of file
453
+module.exports.loadCertificates = loadCertificates;
meshcentral.js
+1
-1
@@ -2896,7 +2896,7 @@ function CreateMeshCentralServer(config, args) {
2896
if ((stats == null)) continue; // If this agent does not exist, skip it.
2897
2898
// Check if we need to sign this agent, if so, check if it's already been signed
2899
- if ((obj.meshAgentsArchitectureNumbers[archid].codesign === true) && (agentSignCertInfo != null)) {{
2899
+ if ((obj.meshAgentsArchitectureNumbers[archid].codesign === true) && (agentSignCertInfo != null)) {
2900
// Open the original agent with authenticode
2901
var signeedagentpath = obj.path.join(serverSignedAgentsPath, obj.meshAgentsArchitectureNumbers[archid].localname);
2902
const originalAgent = require('./authenticode.js').createAuthenticodeHandler(agentpath);