mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
Fix lint errors
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user