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

definition-parser: include package name in error #60

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

sandersn
Copy link
Member

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) [email protected]

This proposed change is intended to allow developers quickly figure out
the real reason of getTypingInfo failing due to version mismatch.
Current error message and related stack trace does not contain a clue
about the package failing and with the context of DT repository and
local development artifacts, this removes the problem with definition
parser failing on the stale data from local repository (non tracked
folders, etc).

Thanks!

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <[email protected]>

This proposed change is intended to allow developers quickly figure out
the real reason of `getTypingInfo` failing due to version mismatch.
Current error message and related stack trace does not contain a clue
about the package failing and with the context of DT repository and
local development artifacts, this removes the problem with definition
parser failing on the stale data from local repository (non tracked
folders, etc).

Thanks!
@sandersn
Copy link
Member Author

Port of microsoft/types-publisher#788

@sandersn sandersn merged commit 70563d7 into master Jun 10, 2020
@sandersn sandersn deleted the improve-definition-parser-error branch June 10, 2020 21:38
@peterblazejewicz
Copy link
Contributor

cool! Thanks!

sandersn pushed a commit that referenced this pull request Nov 29, 2021
Fix error reporting for `--noLint`
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