We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 892f21d commit 0da4ba1Copy full SHA for 0da4ba1
packages/cli/src/libs/add.ts
@@ -16,8 +16,8 @@ export const add = async() => {
16
}])
17
18
const userList = getAllUserConfigs()
19
- const alisExisted = userList.some((user)=>user.alias === alias)
20
- if (alisExisted) {
+ const aliasExisted = userList.some((user)=>user.alias === alias)
+ if (aliasExisted) {
21
console.error(pc.red('别名已存在,请调整后重试哦~'))
22
process.exit(1)
23
}
0 commit comments