Remove commented lines of code

pull/428/head
IvanZosimov 3 years ago
parent fefaa59d2e
commit 21cf89aa73

11
dist/index.js vendored

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

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

Loading…
Cancel
Save