Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix building models in subdirs (#1860)
Fixes #1859 Modifies the changes in #1851, specifically `SmithyBuild::addSources`, to not check subdirectories for Smithy files. The previous behavior was to just add whatever path was given to the method, *not* everything in subdirectories. However, the change didn't recursively search subdirectores, so you could get build errors due to missing shapes when running the sources plugin. This change reverts the behavior of `SmithyBuild::addSource` to only add whichever path it was given, but still checks to see if the path is a valid Smithy model.
- Loading branch information