Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This was working by coincidence in 7.7.6 and before, and broken in the 7.8.0 refactor. Before, it would see there was no "name" in the spec, and then read your local package.json, and from that get a `latest` tag. So, if you didn't have a package.json in your CWD it would fail with an ENOENT trying to read it. This fixes it for real, so that if you aren't asking for info from a registry spec, it goes ahead and looks for the `latest` tag (or whatever tag you have configured as your default).
- Loading branch information