forgot to build and lint

This commit is contained in:
Jared Petersen 2020-05-12 01:26:52 -07:00
parent 6e0fcb38f5
commit ebb46eab94
2 changed files with 7 additions and 3 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

View File

@ -124,8 +124,12 @@ async function remove(path: string) {
async function importGPG(gpgPrivateKey: string) {
await write(TEMP_DIR, PRIVATE_KEY_FILE, gpgPrivateKey);
await exec.exec('gpg', ['--homedir', GPG_HOME_DIR, '--import', '--batch', PRIVATE_KEY_FILE], {
await exec.exec(
'gpg',
['--homedir', GPG_HOME_DIR, '--import', '--batch', PRIVATE_KEY_FILE],
{
cwd: TEMP_DIR
});
}
);
await remove(path.join(TEMP_DIR, PRIVATE_KEY_FILE));
}