Skip to content

eszip extract fails when a specifier in the eszip has no path or is a directory of another specifier #101

Description

@dsherret

The code here:

await write(join(dest, "source", url2path(specifier)), module);

...is very basic and looks at the pathname only to figure out how to extract.

This will fail in two scenarios:

  1. Where there is no path, like https://fresh.deno.dev
  2. A path is a directory of another specifier. For exmaple: something/ then something/other.ts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions