fix(new-design): Escape the escape character so it appears
This commit is contained in:
parent
eb0662fa08
commit
f280da1eaf
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ export const getChoices = async () => {
|
|||
await prompts({
|
||||
type: 'text',
|
||||
name: 'name',
|
||||
message: 'What name would you like the design to have? 🏷️ ([a-z0-9_-] only)',
|
||||
message: 'What name would you like the design to have? 🏷️ ([a-z0-9_\\-] only)',
|
||||
validate: validateDesignName,
|
||||
})
|
||||
).name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue