Don't save the response if HTTP response is not OK
Issue: If the HTTP response is not 200, file is downloaded with the HTTP response text in it.
Fix: Stopping the file write if the response is not OK.
@paulcbetts @zeke @felixrieseberg @MarshallOfSound can you please help review this PR?
Hi @juturu! I'm not familiar with this library. Are you able to add a test for this scenario?
@zeke there are no existing tests for this part of the module.
@CharlieHess @felixrieseberg please help with this.
@paulcbetts is the only npm owner. @paulcbetts would you be willing to npm owner add juturu or npx semantic-release-cli setup on this repo?
@paulcbetts can you help with this please?