Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Make sure builder always validates function files#18

Merged
shapirone merged 3 commits intomainfrom
neil-confirm-source-file
Apr 28, 2022
Merged

Make sure builder always validates function files#18
shapirone merged 3 commits intomainfrom
neil-confirm-source-file

Conversation

@shapirone
Copy link
Copy Markdown
Contributor

Summary

Make sure we are always validating function files exist at the location regardless of if they are outputting the manifest or not

Details

When doing a local run we were not seeing an error until the function was triggered because during a local run the CLI passes the flag for manifestOnly.

@shapirone shapirone requested a review from selfcontained April 28, 2022 21:34
Copy link
Copy Markdown

@sopokuagyemang sopokuagyemang left a comment

Choose a reason for hiding this comment

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

LGTM ✅

Copy link
Copy Markdown

@selfcontained selfcontained left a comment

Choose a reason for hiding this comment

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

Works great, thanks! I tested this out against a number of different project structures, with and without functions, with and without the SDK, layered manifest files, and it catches invalid source_file values as expected. Nice work.

@shapirone shapirone merged commit fd641aa into main Apr 28, 2022
@shapirone shapirone deleted the neil-confirm-source-file branch April 28, 2022 22:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants