Skip to content

Commit

Permalink
improved cleanup error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Petersen committed Jul 18, 2020
1 parent ac9630f commit 38e0c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/cleanup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ function run() {
yield gpg.deleteKey(keyFingerprint);
}
catch (error) {
core.setFailed(error.message);
core.setFailed('failed to remove private key');
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/cleanup-java.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function run() {
);
await gpg.deleteKey(keyFingerprint);
} catch (error) {
core.setFailed(error.message);
core.setFailed('failed to remove private key');
}
}
}
Expand Down

0 comments on commit 38e0c8b

Please sign in to comment.