Skip to content

Commit a0a580e

Browse files
Validation message correction
1 parent b8caf21 commit a0a580e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/inquirer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async function getDirName(path: string): Promise<string> {
6464
}
6565

6666
if (existsSync(join(basePath, name))) {
67-
return $t(errors.INVALID_NAME, { min: "3", max: "50" });
67+
return messages.DIR_EXIST;
6868
}
6969

7070
return true;

0 commit comments

Comments
 (0)