Update changelog.js

This commit is contained in:
小虎故洞
2021-02-17 19:49:40 +08:00
committed by GitHub
parent 352379975a
commit 359ad93963
+2 -2
View File
@@ -39,10 +39,10 @@ module.exports = async (ctx) => {
const patt = /[0-9]\d*/g;
let result;
let date = "";
while ((result = patt.exec(str)) != null) {
while ((result = patt.exec(str)) !== null) {
date += result + '-';
}
return date.replace(/\-$/g, "");
return date.replace(/-$/g, "");
}
return {