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

Allow user to functions in the same directory #256

Merged
merged 2 commits into from
Jul 15, 2020
Merged

Conversation

anthmatic
Copy link
Contributor

@anthmatic anthmatic commented Jul 8, 2020

Instead of looking for ancestral *.function directories (which wasn't working) this switches to looking for serverless.json config files

@gcorne I see that you assigned that issue to yourself, if you have another idea for this in mind let me know

Copy link
Contributor

@gcorne gcorne left a comment

Choose a reason for hiding this comment

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

Makes sense to me as a first step. We had also talked about adjusting hs create function to work in a similar fashion to the create flow in the Design Manager where we adjust the prompt based on the context so that a user can create additional function in the same .function folder.

@anthmatic
Copy link
Contributor Author

Makes sense. Revisiting #179, I swear that referenced the bug that this addresses but I can't find any issues that reference that now. I'll keep that issue open for now

@anthmatic anthmatic merged commit f32da53 into master Jul 15, 2020
@anthmatic anthmatic deleted the fix/nested-functions branch July 15, 2020 18:50
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