electron / get

Download Electron release artifacts
https://npm.im/@electron/get
MIT License
338 stars 106 forks source link

feat: allow optionally only passing a base url to downloadArtifact #156

Closed codebytere closed 4 years ago

codebytere commented 4 years ago

In some cases the url passed with a mirror will be fully-formed and not have path/name at the end, meaning that the current logic will tack it on and cause failures. This fixes that by optionally allowing only the base url to be passed to got for download.

cc @MarshallOfSound

codebytere commented 4 years ago

Looks like it's using TS v3.2.4 - not sure why since i updated the lockfile.