From ebb46eab94b3d33c48cdd3273125c8ea00bc68bd Mon Sep 17 00:00:00 2001 From: Jared Petersen Date: Tue, 12 May 2020 01:26:52 -0700 Subject: [PATCH] forgot to build and lint --- dist/index.js | Bin 1263480 -> 1263581 bytes src/auth.ts | 10 +++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index a6afd7126f8ee4b6117eddfe1af02cf63fdf8cf5..a19f106b89fdcbc13f088f4a33864b4d1ea6eb1e 100644 GIT binary patch delta 179 zcmey-=X4Iay}E>ZfP1`$zprb&i)WC6twKR!NrqllerDcu zK{Iw?4t2fsywZYn_3b6_E%`#GF9P1;pGy%mc){K+Ffk{6H)K#DYL9v^~#Em`e}4Iaz54W%I_$jLPpPw?;^GK#^$m!3@eG=*sA0PO vsuBA==Jso5>_E%`#GF9P1;pGy%mc){K+Ffk{6H)K#DYL9wEdcyFuNcCg4`%s diff --git a/src/auth.ts b/src/auth.ts index a7762a96..96051dd4 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -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], { - cwd: TEMP_DIR - }); + 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)); }