-
Notifications
You must be signed in to change notification settings - Fork 42
Improve message for error "incompatible properties" #316
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
Conversation
| throw new Error(stderr) | ||
| } | ||
| const resolveSwagger = new ResolveSwagger(outputFilePath) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change is just moving this code earlier, and passing map to new ResolveSwagger() so it can include original locations in errors.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some suggestions on how to make the tests easier to comprehend. Besides, LGTM!
Co-authored-by: Konrad Jamrozik <[email protected]>
Co-authored-by: Konrad Jamrozik <[email protected]>
Example where previous error was insufficient to help spec author: Azure/azure-sdk-tools#7917
Old
New