From dba85a6894251f3844a39eb63b293c4c65a345c9 Mon Sep 17 00:00:00 2001 From: a298003154 <298003154@qq.com> Date: Tue, 25 May 2021 13:56:23 +0800 Subject: [PATCH] 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 --- packages/vant-cli/src/commands/changelog.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vant-cli/src/commands/changelog.ts b/packages/vant-cli/src/commands/changelog.ts index 3d5141b59..df6c45fdc 100644 --- a/packages/vant-cli/src/commands/changelog.ts +++ b/packages/vant-cli/src/commands/changelog.ts @@ -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 = {