HubSpot / prettier-maven-plugin

Apache License 2.0
116 stars 23 forks source link

Handle 404 on download #75

Closed jhaber closed 1 year ago

jhaber commented 1 year ago

Currently we don't check for success on the http response, which means we can get a 404 and happily proceed (and fail later when we try to extract the response body as an archive file). This PR updates the downloader to check response status, and also special-case 404 on mac-arm so that we retry against mac-x64 (older versions of node don't have a mac-arm version)