Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <[email protected]>
  • Loading branch information
outsideris committed Aug 1, 2023
1 parent 773b864 commit affb8ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/provider/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ const sign = (shaSumsFile, targetDir, gpgKey) =>
if (gpgKey) {
keyOption = `--default-key ${gpgKey} `;
}
exec(`gpg --list-secret-keys`, { cwd: targetDir }, (err2) => {
exec(`gpg --list-secret-keys`, { cwd: targetDir }, (err2, stdout) => {
if (err2) {
return reject(err2);
}
console.log(stdout)
exec(`gpg --detach-sign ${keyOption} --yes ${shaSumsFile}`, { cwd: targetDir }, (err) => {
if (err) {
return reject(err);
Expand Down

0 comments on commit affb8ca

Please sign in to comment.