mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 13:57:10 -04:00
Added Chinese version
Added Chinese version
This commit is contained in:
parent
d037338a23
commit
730a68b92a
466 changed files with 31255 additions and 0 deletions
6
zh-CN/scripts/getLatestChangelog.mjs
Normal file
6
zh-CN/scripts/getLatestChangelog.mjs
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { readFile } from 'fs/promises';
|
||||
|
||||
const changelogContent = await readFile('./CHANGELOG.md', 'utf-8');
|
||||
const [, lastChangelog] = changelogContent.split(/^## .*$/gm);
|
||||
|
||||
console.log(lastChangelog.trim());
|
Loading…
Add table
Add a link
Reference in a new issue