Remove commented lines of code

This commit is contained in:
IvanZosimov 2023-05-16 15:13:18 +02:00
parent fefaa59d2e
commit 21cf89aa73
2 changed files with 0 additions and 24 deletions

11
dist/index.js vendored
View File

@ -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')}`);

View File

@ -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');