From 21cf89aa73470741965b60731b60d061054d3e05 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Tue, 16 May 2023 15:13:18 +0200 Subject: [PATCH] Remove commented lines of code --- dist/index.js | 11 ----------- src/setup-dotnet.ts | 13 ------------- 2 files changed, 24 deletions(-) diff --git a/dist/index.js b/dist/index.js index dc3e1f6..2b8903f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -578,17 +578,6 @@ function run() { if (sourceUrl) { auth.configAuthentication(sourceUrl, configFile); } - // const comparisonRange: string = globalJsonFileInput - // ? versions[versions.length - 1]! - // : '*'; - // const versionToOutput = semver.maxSatisfying( - // installedDotnetVersions, - // comparisonRange, - // { - // includePrerelease: true - // } - // ); - // core.setOutput('dotnet-version', versionToOutput); outputInstalledVersion(installedDotnetVersions, globalJsonFileInput); const matchersPath = path_1.default.join(__dirname, '..', '.github'); core.info(`##[add-matcher]${path_1.default.join(matchersPath, 'csc.json')}`); diff --git a/src/setup-dotnet.ts b/src/setup-dotnet.ts index 1a4755a..188257b 100644 --- a/src/setup-dotnet.ts +++ b/src/setup-dotnet.ts @@ -78,19 +78,6 @@ export async function run() { auth.configAuthentication(sourceUrl, configFile); } - // const comparisonRange: string = globalJsonFileInput - // ? versions[versions.length - 1]! - // : '*'; - - // const versionToOutput = semver.maxSatisfying( - // installedDotnetVersions, - // comparisonRange, - // { - // includePrerelease: true - // } - // ); - - // core.setOutput('dotnet-version', versionToOutput); outputInstalledVersion(installedDotnetVersions, globalJsonFileInput); const matchersPath = path.join(__dirname, '..', '.github');