Skip to content

Commit c68c3e0

Browse files
committed
feat(@142vip/changelog): 调整vipDayjs类使用
1 parent b7c12ee commit c68c3e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/changelog/src/core/changelog.api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ChangelogCliOptions, ChangelogGenerateOptions, GenerateChangelogResult } from '../enums'
22
import { parseCliOptions } from '@142vip/changelog'
3-
import { VipColor, VipConsole, VipDayjs, VipGit, vipLogger, VipNodeJS } from '@142vip/utils'
3+
import { VipColor, VipConsole, vipDayjs, VipGit, vipLogger, VipNodeJS } from '@142vip/utils'
44
import { GitCommitAPI } from './git-commit.api'
55
import { GithubAPI } from './github.api'
66

@@ -58,7 +58,7 @@ async function upsertChangelogDoc(
5858
}
5959

6060
// 添加版本头部
61-
const newMd = `## ${releaseVersionName} (${VipDayjs.formatDateToYMD()})\n\n${markdown}`
61+
const newMd = `## ${releaseVersionName} (${vipDayjs.formatDateToYMD()})\n\n${markdown}`
6262

6363
const lastEntry = changelogMD.match(/^##\s+(?:\S.*)?$/m)
6464

0 commit comments

Comments
 (0)