Skip to content

Commit 5787da5

Browse files
authored
Add fetch
1 parent 61b2daa commit 5787da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

componentDetection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default class ComponentDetection {
149149
}
150150
const serverUrl = core.getInput('releaseServerUrl') || github.context.apiUrl;
151151
//const octokit = github.getOctokit(githubToken, { baseUrl: serverUrl });
152-
const octokit = new Octokit({ auth: githubToken, baseUrl: serverUrl });
152+
const octokit = new Octokit({ auth: githubToken, baseUrl: serverUrl, request: { fetch: fetch} });
153153
const owner = "microsoft";
154154
const repo = "component-detection";
155155
core.debug("Attempting to download latest release from " + serverUrl);

0 commit comments

Comments
 (0)