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: improved error messages when deps are missing #484

Merged
merged 4 commits into from
Jan 29, 2019

Conversation

thsig
Copy link
Collaborator

@thsig thsig commented Jan 25, 2019

Output a more informative error message when invalid/unknown
dependencies are present in a module's configuration.

Output a more informative error message when invalid/unknown
dependencies are present in a module's configuration.
garden-service/src/garden.ts Outdated Show resolved Hide resolved
@thsig
Copy link
Collaborator Author

thsig commented Jan 28, 2019

In bb0fcf9, I changed the tests to more granularly test detectMissingDependencies and detectCircularDependencies (instead of just expecting an exception during scanModules). Also addressed @eysi09's comments.

I didn't squash these changes right away, since it's probably easier to read through the changes addressing the PR comments this way.

If there are no other comments, I'd like to squash this into one commit before merging.

CC @edvald

@edvald edvald merged commit c5e6dce into master Jan 29, 2019
@edvald edvald deleted the better-errors-when-deps-are-missing branch January 29, 2019 16:22
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.

3 participants