We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Path is undefined when using async functions within a custom function. This results in errors being shown on line 1 only.
To Reproduce
Given this API file my-sample-api.zip
Run this CLI command spectral lint -r .spectral.json reference/todo-api.yaml
spectral lint -r .spectral.json reference/todo-api.yaml
See errors are all on line 1
Expected behavior Correct line number should be shown with the error.
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version @stoplight/spectral-core-v1.14.2 🎉
The release is available on npm package (@latest dist-tag)
Your semantic-release bot 📦🚀
Sorry, something went wrong.
P0lip
Successfully merging a pull request may close this issue.
Describe the bug
Path is undefined when using async functions within a custom function. This results in errors being shown on line 1 only.
To Reproduce
Given this API file
my-sample-api.zip
Run this CLI command
spectral lint -r .spectral.json reference/todo-api.yaml
See errors are all on line 1
Expected behavior
Correct line number should be shown with the error.
The text was updated successfully, but these errors were encountered: