From b2196186be9b5e367634579d0f2c1830bc14476c Mon Sep 17 00:00:00 2001 From: Bsian Date: Wed, 1 Jan 2020 15:27:42 +0000 Subject: [PATCH] Revert "Fix cert pathing" This reverts commit 2a60c7dcf2ec7899d3fcb57f0bde9a1b27581a46. --- src/commands/parse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/parse.ts b/src/commands/parse.ts index 5c1abf3..fcd0765 100644 --- a/src/commands/parse.ts +++ b/src/commands/parse.ts @@ -26,7 +26,7 @@ export default class Parse extends Command { return message.channel.createMessage(`***${this.client.stores.emojis.error} Cannot locate Validation directory.***`); } if (!dir.length) return message.channel.createMessage(`***${this.client.stores.emojis.error} Cannot locate certificate.***`); - const cert = await parseCertificate(this.client, `${account.homepath}/Validation/${dir[0]}`); + const cert = await parseCertificate(this.client, dir[0]); // const cert = parseCert(`${account.homepath}/Validation/${dir[0]}`); const subjectCommonName = cert.subject.commonName || 'Not Specified'; const subjectEmailAddress = cert.subject.emailAddress || 'Not Specified';