This commit is contained in:
hufeixiong
2021-07-28 11:46:25 +08:00
parent 4b78191282
commit 2b86d5d229
14 changed files with 112 additions and 38 deletions

View File

@@ -2,7 +2,7 @@
* @Author: yehuozhili
* @Date: 2021-07-20 17:38:03
* @LastEditors: yehuozhili
* @LastEditTime: 2021-07-20 19:23:46
* @LastEditTime: 2021-07-28 10:30:54
* @FilePath: \dooringx\script\changelog.js
*/
@@ -22,12 +22,10 @@ if (isExist) {
fs.removeSync(doclog);
}
const prepend = `
---
const prepend = `---
title: CHANGELOG
order: 1
---
`;
const data = prepend + fs.readFileSync(changelog).toString();