Update validation regex and bump to 1.4.1

This commit is contained in:
Tom Hu
2021-04-19 21:18:52 -04:00
parent 0e28ff86a5
commit 95e6f30a60
5 changed files with 8 additions and 4 deletions

2
dist/index.js vendored
View File

@@ -49280,7 +49280,7 @@ var calculateChecksum = function (body, i) {
return shasum.digest('hex') + " codecov";
};
var getVersion = function (body) {
var regex = /VERSION="(.*)+"/g;
var regex = /VERSION="([\d\.]+)"/g;
var match = regex.exec(body);
return match ? match[1] : null;
};