Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-12207] Added 'lower case' to all app id validation error messages. #3706

Merged
merged 1 commit into from
Jan 14, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions support/cli/commands/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ exports.config = function (logger, config, cli) {
}
if (!/^([a-z_]{1}[a-z0-9_]*(\.[a-z_]{1}[a-z0-9_]*)*)$/.test(id)) {
throw new appc.exception(__('Invalid app id "%s"', id), [
__('The app id must consist of letters, numbers, and underscores.'),
__('The app id must consist of lower case letters, numbers, and underscores.'),
__('The first character must be a letter or underscore.'),
__("Usually the app id is your company's reversed Internet domain name. (i.e. com.example.myapp)")
]);
Expand Down Expand Up @@ -138,7 +138,7 @@ exports.validate = function (logger, config, cli) {
cli.argv.id = (cli.argv.id || '').trim();
if (!/^([a-z_]{1}[a-z0-9_]*(\.[a-z_]{1}[a-z0-9_]*)*)$/.test(cli.argv.id)) {
logger.error(__('Invalid app id "%s"', cli.argv.id) + '\n');
logger.log(__('The app id must consist of letters, numbers, and underscores.'));
logger.log(__('The app id must consist of lower case letters, numbers, and underscores.'));
logger.log(__('The first character must be a letter or underscore.'));
logger.log(__("Usually the app id is your company's reversed Internet domain name. (i.e. com.example.myapp)") + '\n');
process.exit(1);
Expand Down
4 changes: 2 additions & 2 deletions support/node_modules/titanium-sdk/lib/titanium.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.