Skip to content

Commit

Permalink
Update validation message for name and vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
tamorim committed May 16, 2017
1 parent b271b95 commit 9d0e32b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/init/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const promptService = (): Bluebird<string> => {
}

const promptName = (): Bluebird<string> => {
const message = 'The app name should only contain number, letters, underscores and hyphen.'
const message = 'The app name should only contain numbers, lowercase letters, underscores and hyphens.'
return Promise.resolve(
inquirer.prompt({
name: 'name',
Expand All @@ -45,7 +45,7 @@ const promptName = (): Bluebird<string> => {
}

const promptVendor = (): Bluebird<string> => {
const message = 'The vendor should only contain number, letters, underscores and hyphen.'
const message = 'The vendor should only contain numbers, lowercase letters, underscores and hyphens.'
return Promise.resolve(
inquirer.prompt({
name: 'vendor',
Expand Down

0 comments on commit 9d0e32b

Please sign in to comment.