chore(cli): fix spell error in changelog.ts (#8763)

* docs(PullRefresh): fix spell check

* style(cli): fix spell check about "toogle" -> "toggle" in DemoPlayground.vue

* style(Button): fix spell error

* feat(List): remove unused Less var @list-icon-margin-right

* style(cli): fix spell error in changelog.ts
This commit is contained in:
a298003154 2021-05-25 13:56:23 +08:00 committed by GitHub
parent 626ca4954c
commit dba85a6894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,12 +6,12 @@ import conventionalChangelog from 'conventional-changelog';
const DIST_FILE = join(ROOT, './changelog.generated.md');
const MAIN_TEMPLATE = join(__dirname, '../../template/changelog-main.hbs');
const HEADER_TEMPALTE = join(__dirname, '../../template/changelog-header.hbs');
const COMMIT_TEMPALTE = join(__dirname, '../../template/changelog-commit.hbs');
const HEADER_TEMPLATE = join(__dirname, '../../template/changelog-header.hbs');
const COMMIT_TEMPLATE = join(__dirname, '../../template/changelog-commit.hbs');
const mainTemplate = readFileSync(MAIN_TEMPLATE, 'utf-8');
const headerPartial = readFileSync(HEADER_TEMPALTE, 'utf-8');
const commitPartial = readFileSync(COMMIT_TEMPALTE, 'utf-8');
const headerPartial = readFileSync(HEADER_TEMPLATE, 'utf-8');
const commitPartial = readFileSync(COMMIT_TEMPLATE, 'utf-8');
function formatType(type: string) {
const MAP: Record<string, string> = {