We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3326e1d commit 2f099c8Copy full SHA for 2f099c8
1 file changed
lib/tag.js
@@ -123,7 +123,7 @@ Tag.prototype.extractSignature = function(signatureType = "gpgsig") {
123
const odbData = odbObject.toString();
124
125
for (const regex of signatureRegexes) {
126
- const matchResult = regex.exec(odbData);
+ const matchResult = odbData.match(regex);
127
128
if (matchResult !== null) {
129
return matchResult[0];
0 commit comments