mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-01-19 06:41:44 +07:00
remove extra spacing
This commit is contained in:
parent
0d16f91084
commit
e31c9045e5
1
dist/index.js
vendored
1
dist/index.js
vendored
@ -18169,7 +18169,6 @@ class DotnetCoreInstaller {
|
|||||||
getReleasesJsonUrl(httpClient, versionParts) {
|
getReleasesJsonUrl(httpClient, versionParts) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const response = yield httpClient.getJson(DotNetCoreIndexUrl);
|
const response = yield httpClient.getJson(DotNetCoreIndexUrl);
|
||||||
|
|
||||||
const result = response.result || {};
|
const result = response.result || {};
|
||||||
let releasesInfo = result['releases-index'];
|
let releasesInfo = result['releases-index'];
|
||||||
releasesInfo = releasesInfo.filter((info) => {
|
releasesInfo = releasesInfo.filter((info) => {
|
||||||
|
@ -262,7 +262,6 @@ export class DotnetCoreInstaller {
|
|||||||
versionParts: string[]
|
versionParts: string[]
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
const response = await httpClient.getJson<any>(DotNetCoreIndexUrl);
|
const response = await httpClient.getJson<any>(DotNetCoreIndexUrl);
|
||||||
|
|
||||||
const result = response.result || {};
|
const result = response.result || {};
|
||||||
let releasesInfo: any[] = result['releases-index'];
|
let releasesInfo: any[] = result['releases-index'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user