mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
Update validation regex and bump to 1.4.1
This commit is contained in:
@@ -50,7 +50,7 @@ const calculateChecksum = (body, i) => {
|
||||
};
|
||||
|
||||
const getVersion = (body) => {
|
||||
const regex = /VERSION="(.*)+"/g;
|
||||
const regex = /VERSION="([\d\.]+)"/g;
|
||||
const match = regex.exec(body);
|
||||
return match ? match[1] : null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user