mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-17 08:21:45 +00:00
fix: build error caused by node-fetch
This commit is contained in:
parent
b049ab51f4
commit
b3e7f56250
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import * as path from 'path';
|
||||||
|
|
||||||
import * as core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
import * as openpgp from 'openpgp';
|
import * as openpgp from 'openpgp';
|
||||||
import * as fetch from 'node-fetch';
|
import fetch from 'node-fetch';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getBaseUrl,
|
getBaseUrl,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import * as core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
import * as fetch from 'node-fetch';
|
import fetch from 'node-fetch';
|
||||||
|
|
||||||
const versionInfo = async (platform: string, version?: string) => {
|
const versionInfo = async (platform: string, version?: string) => {
|
||||||
if (version) {
|
if (version) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue