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 Jul 26, 2023
1 parent 43061fa commit f3bfcd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/provider/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const sign = (shaSumsFile, targetDir, gpgKey) =>
if (gpgKey) {
keyOption = `--default-key ${gpgKey} `;
}
// exec(`gpg --detach-sign ${keyOption} --yes ${shaSumsFile}`, { cwd: targetDir }, (err) => {
exec(`gpg --list-secret-keys`, { cwd: targetDir }, (err) => {
exec(`gpg --detach-sign ${keyOption} --yes ${shaSumsFile}`, { cwd: targetDir }, (err) => {
// exec(`gpg --list-secret-keys`, { cwd: targetDir }, (err) => {
if (err) {
return reject(err);
}
Expand Down
1 change: 1 addition & 0 deletions lib/provider/provider.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ describe('provider cli', () => {

await access(sigFileFullPath, fs.constants.F_OK);
const content = await readFile(sigFileFullPath);
console.log('----1')
expect(content).to.be.an.instanceOf(Buffer);
});

Expand Down

0 comments on commit f3bfcd0

Please sign in to comment.