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

Add exceptions for invalid paths in template definition #1907

Merged

Conversation

hpmellema
Copy link
Contributor

@hpmellema hpmellema commented Aug 3, 2023

Description of changes:
Throws an error if the include files or the root template path specified in the smithy-templates.json are invalid.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hpmellema hpmellema marked this pull request as ready for review August 3, 2023 15:37
@hpmellema hpmellema requested a review from a team as a code owner August 3, 2023 15:37
@hpmellema hpmellema merged commit 7b472ab into smithy-lang:main Aug 3, 2023
10 checks passed
@hpmellema hpmellema deleted the throw-error-on-bad-template-paths branch August 3, 2023 16:08
syall pushed a commit to Xtansia/smithy that referenced this pull request Aug 11, 2023
…1907)

Add exceptions for invalid paths in template definition. Errors are thrown for both invalid included file paths and for invalid root template paths.
alextwoods pushed a commit to alextwoods/smithy that referenced this pull request Sep 15, 2023
…1907)

Add exceptions for invalid paths in template definition. Errors are thrown for both invalid included file paths and for invalid root template paths.
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.

None yet

2 participants