Skip to content

Commit 0da4ba1

Browse files
committed
fix: 修复拼写错误
1 parent 892f21d commit 0da4ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cli/src/libs/add.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export const add = async() => {
1616
}])
1717

1818
const userList = getAllUserConfigs()
19-
const alisExisted = userList.some((user)=>user.alias === alias)
20-
if (alisExisted) {
19+
const aliasExisted = userList.some((user)=>user.alias === alias)
20+
if (aliasExisted) {
2121
console.error(pc.red('别名已存在,请调整后重试哦~'))
2222
process.exit(1)
2323
}

0 commit comments

Comments
 (0)