Fix lint errors

This commit is contained in:
RA80533
2021-07-21 05:13:39 -04:00
parent 7474287922
commit 9426b0fd6a

View File

@@ -31,9 +31,9 @@ const verify = async (filename: string) => {
// Verify shasum // Verify shasum
const verified = await openpgp.verify({ const verified = await openpgp.verify({
message: await openpgp.createMessage({ text: shasum }), message: await openpgp.createMessage({text: shasum}),
signature: await openpgp.readSignature({ armoredSignature: shaSig }), signature: await openpgp.readSignature({armoredSignature: shaSig}),
verificationKeys: await openpgp.readKeys({ armoredKeys: publicKeyArmored }), verificationKeys: await openpgp.readKeys({armoredKeys: publicKeyArmored}),
}); });
const valid = await verified.signatures[0].verified; const valid = await verified.signatures[0].verified;
if (valid) { if (valid) {