Skip to content

Commit 0baf56b

Browse files
committed
Fix formatting
1 parent 713507d commit 0baf56b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/gpg.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ export async function setupKeys() {
1010

1111
core.debug("Examining verification keys");
1212
await exec(`file "${path}"`);
13-
const isPlaintext = await exec(`gunzip --test "${path}"`, undefined, { silent: true, ignoreReturnCode: true });
13+
const isPlaintext = await exec(`gunzip --test "${path}"`, undefined, {
14+
silent: true,
15+
ignoreReturnCode: true,
16+
});
1417

1518
core.debug("Importing verification keys");
16-
await exec('bash', ['-c', `${isPlaintext ? "cat" : "zcat"} "${path}" | gpg --import`]);
19+
await exec("bash", [
20+
"-c",
21+
`${isPlaintext ? "cat" : "zcat"} "${path}" | gpg --import`,
22+
]);
1723

1824
core.debug("Refreshing keys");
1925
await refreshKeys();

0 commit comments

Comments
 (0)