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
|
@ -85,7 +85,7 @@ async function addDesign() {
|
|||
const { name } = 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,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue