Skip to content

registryKey is dropping path from URL #84

@zarenner

Description

@zarenner

In registry-key.js, there's currently the following call to url.format, which currently is dropping the path:

const formatted = url.format({
    host: parsed.host,
    path: parsed.path,
    slashes: parsed.slashes
  })`

It looks like (presumably after nodejs/node#303) 'path' is no longer supported, and we need to use 'pathname' instead.
https://nodejs.org/api/url.html#url_url_format_urlobject

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions