Skip to content

Commit

Permalink
chore: fix type error
Browse files Browse the repository at this point in the history
haoqunjiang committed Aug 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8714e23 commit 30c34ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.ts
Original file line number Diff line number Diff line change
@@ -620,7 +620,7 @@ export function dirnameFrom(url: string) {
return path.dirname(fileURLToPath(url))
}

export function parseVueVersion(vuePath: string): number {
export function parseVueVersion(vuePath: string): string {
const content = fs.readFileSync(
path.join(vuePath, 'packages', 'vue', 'package.json'),
'utf-8',

0 comments on commit 30c34ab

Please sign in to comment.