Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-implicit-dependencies crashes on invalid package.json #3369

Closed
ajafff opened this issue Oct 21, 2017 · 0 comments · Fixed by #3373
Closed

no-implicit-dependencies crashes on invalid package.json #3369

ajafff opened this issue Oct 21, 2017 · 0 comments · Fixed by #3373

Comments

@ajafff
Copy link
Contributor

ajafff commented Oct 21, 2017

no-implicit-dependencies crashes if package.json doesn't contain valid JSON.
It should catch any exception while reading and parsing the file and just treat it as empty.

adidahiya pushed a commit that referenced this issue Oct 23, 2017
[bugfix] `no-implicit-dependencies` don't crash on malformed package.json
Fixes: #3369
HyphnKnight pushed a commit to HyphnKnight/tslint that referenced this issue Apr 9, 2018
…ntir#3373)

[bugfix] `no-implicit-dependencies` don't crash on malformed package.json
Fixes: palantir#3369
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant