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

fix(view): fix git specs #3209

Merged
merged 1 commit into from May 10, 2021
Merged

fix(view): fix git specs #3209

merged 1 commit into from May 10, 2021

Commits on May 10, 2021

  1. fix(view): fix non-registry specs

    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 are asking for info from a git spec, it
    goes ahead and looks for the `latest` tag (or whatever tag you have configured
    as your default).
    
    PR-URL: #3209
    Credit: @wraithgar
    Close: #3209
    Reviewed-by: @ruyadorno
    wraithgar committed May 10, 2021
    Copy the full SHA
    0696fca View commit details
    Browse the repository at this point in the history