Use node-fetch
Some checks failed
Test Action / Test with default inputs (push) Has been cancelled
Test Action / Test with default inputs-1 (push) Has been cancelled
Test Action / Test with default inputs-2 (push) Has been cancelled
Test Action / Test with explicit inputs (push) Has been cancelled
Test Action / Test with explicit inputs-1 (push) Has been cancelled
Test Action / Test with explicit inputs-2 (push) Has been cancelled

This commit is contained in:
khai96_ 2020-05-08 21:34:25 +07:00
parent 738fb9213f
commit 9979c3d928
5 changed files with 40 additions and 743 deletions

View file

@ -1,4 +1,4 @@
import download from 'download'
import fetch from 'node-fetch'
import url from './url'
export const downloadSelfInstaller = () => download(url)
export const downloadSelfInstaller = () => fetch(url)
export default downloadSelfInstaller