Skip to content

Commit 704ebb5

Browse files
committed
fix(@142vip/changelog): 修复vipQs使用异常
1 parent e3500d0 commit 704ebb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/changelog/src/utils/github.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { $fetch } from 'ofetch'
2-
import { VipColor, vipQs } from '@142vip/utils'
2+
import { VipColor, VipQs } from '@142vip/utils'
33
import type {
44
AuthorInfo,
55
ChangelogOptions,
@@ -146,7 +146,7 @@ export async function hasTagOnGitHub(tag: string, options: ChangelogOptions): Pr
146146
*/
147147
export function generateWebUrl(config: any, markdown: string): string {
148148
const baseUrl = `https://${config.baseUrl}/${config.repo}/releases/new`
149-
const queryParams = vipQs.stringify({
149+
const queryParams = VipQs.stringify({
150150
title: config.name || config.to,
151151
body: markdown,
152152
tag: config.to,

0 commit comments

Comments
 (0)