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

fix file handler lookups with pseudo parameters #239

Merged
merged 2 commits into from
Oct 16, 2016

Conversation

troyready
Copy link
Contributor

If the file lookup includes a reference with :: in it (e.g.
AWS::Region), the regex currently doesn't extract it.

If the file lookup includes a reference with `::` in it (e.g.
`AWS::Region`), the regex currently doesn't extract it.
Copy link
Member

@phobologic phobologic left a comment

Choose a reason for hiding this comment

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

Can you write a test for this just to make sure this doesn't break in the future?

@troyready
Copy link
Contributor Author

@phobologic good thought -- I've added a new commit expanding this lookups' test to explicitly test what should & shouldn't match.

Copy link
Member

@phobologic phobologic left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks @troyready!

@phobologic phobologic merged commit 5a62de8 into cloudtools:master Oct 16, 2016
@troyready troyready deleted the fix_filehandler_regex branch October 16, 2016 02:27
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.

2 participants