Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[store] if store.json is empty, don't try to unmarshal it (#177)
Why === * We're seeing many error logs with > store.json: unexpected end of JSON input * Looking at the Repls, it appears they have an empty store.json file What changed === * If the store.json file is empty or only whitespace, skip unmarshalling and assume it is empty Test plan === * ran `UPM_STORE=store.json ./result/bin/upm -l nodejs add express` with an empty store.json file before and after the change
- Loading branch information