Skip to content

Conversation

@sandersn
Copy link
Member

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) peterblazejewicz@users.noreply.github.com

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) <peterblazejewicz@users.noreply.github.com>

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.

4 participants