Skip to content

Conversation

@abetomo
Copy link
Contributor

@abetomo abetomo commented May 5, 2017

I merged escape disallowed characters (#261) and created a PR, how was it better to do?

describe('_params', function () {
const functionNamePattern =
// http://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-FunctionName
/(arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?/;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks really off, could you place the comment above the const?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@DeviaVir DeviaVir merged commit ce12f9d into motdotla:master May 5, 2017
@DeviaVir
Copy link
Collaborator

DeviaVir commented May 5, 2017

Great work, again!

@abetomo abetomo deleted the add_test_functionname_pattern branch May 8, 2017 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants