Skip to content

Commit

Permalink
Remove commented lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanZosimov committed May 16, 2023
1 parent fefaa59 commit 21cf89a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
11 changes: 0 additions & 11 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')}`);
Expand Down
13 changes: 0 additions & 13 deletions src/setup-dotnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 21cf89a

Please sign in to comment.