refactor: Use node-fetch instead of xmlhttprequest (#130)
* deps: Add node-fetch, remove xmlhttprequest * refactor: Use node-fetch instead of xmlhttprequest
This commit is contained in:
parent
3130d100df
commit
4642226db0
5 changed files with 103 additions and 47 deletions
|
|
@ -16,7 +16,7 @@ if (!tempDir) {
|
|||
tempDir = path.join(baseTempLocation, 'tmp');
|
||||
}
|
||||
|
||||
export default async function installer(version: string) {
|
||||
export async function installer(version: string) {
|
||||
try {
|
||||
const extended: string = core.getInput('extended');
|
||||
console.log(`Hugo extended: ${extended}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue