diff --git a/src/main.ts b/src/main.ts index 085a1ce..14fe19b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -51,8 +51,6 @@ async function run(): Promise { await gpg.configureAgent(gpg.agentConfig); core.info('📌 Getting keygrips'); - const keygrips = await gpg.getKeygrips(privateKey.fingerprint); - for (let keygrip of await gpg.getKeygrips(privateKey.fingerprint)) { core.info(`🔓 Presetting passphrase for ${keygrip}`); await gpg.presetPassphrase(keygrip, process.env.PASSPHRASE).then(stdout => {