Skip to content

Commit

Permalink
functionCreate: fix error message. Closes serverless#553.
Browse files Browse the repository at this point in the history
  • Loading branch information
eahefnawy committed Feb 12, 2016
1 parent 99f2bde commit bebedc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/actions/FunctionCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ usage: serverless function create <function>`,
properties: {
name: {
description: 'Enter a new function name: '.yellow,
message: 'Function name must contain only letters, numbers, hyphens, or underscores.',
message: 'Function name must contain only letters, numbers, hyphens, or underscores. It should not be longer than 20 characters.',
required: true,
conform: function(functionName) {
return SUtils.isFunctionNameValid(functionName);
Expand Down

0 comments on commit bebedc4

Please sign in to comment.