fix: build error caused by node-fetch

This commit is contained in:
Rabyâ Raghib 2022-02-23 19:00:53 +01:00
parent b049ab51f4
commit b3e7f56250
No known key found for this signature in database
GPG key ID: 94D020F4FEFDEA95
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import * as path from 'path';
import * as core from '@actions/core';
import * as openpgp from 'openpgp';
import * as fetch from 'node-fetch';
import fetch from 'node-fetch';
import {
getBaseUrl,

View file

@ -1,5 +1,5 @@
import * as core from '@actions/core';
import * as fetch from 'node-fetch';
import fetch from 'node-fetch';
const versionInfo = async (platform: string, version?: string) => {
if (version) {