diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-09-07 11:13:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 17:13:11 +0000 |
commit | 8eda8c0dbd05afa7313216a1c91d64a41442c9e9 (patch) | |
tree | d6674c8dafcf3c83769bb3df3e3901538d47c66f /ext/node/polyfills/internal/buffer.mjs | |
parent | 9226207c017666ef10712fa3fda35f773025ae03 (diff) |
chore: make downloadPrebuilt a little more reliable (#20401)
Makes the prebuilt installation a bit more reliable:
- Check for 200
- Check for an executable header (MZ, ELF, etc)
- Download to a .temp file until we're certain the file is valid
- If multiple requests for a tool are made, only run one task
Diffstat (limited to 'ext/node/polyfills/internal/buffer.mjs')
0 files changed, 0 insertions, 0 deletions