-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Validation of default files in CWD does not work when I have no files in the context #35
Comments
@derberg shall I start with this issue next? |
yeap |
ErrorWhen the global context file is absent, so no default context is present, and also when flags are missing but there is an Cause of ErrorThis is happening because of cli/src/hooks/context/hooks.tsx Line 136 in b459c1c
--context flag we need the global context config.
Two Possible Solution
cli/src/hooks/context/hooks.tsx Lines 126 to 162 in b459c1c
|
I'm definitely with 2, just make sure message thrown to the user clearly explains cause and next steps |
🎉 This issue has been resolved in version 0.3.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This is how you can reproduce it:
in case I do
asyncapi validate
and, flags like--context
or--files
are not passed, and there is no default context + no contexts at all, the validation of default files from CWD should workThe text was updated successfully, but these errors were encountered: