mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-26 05:13:05 +07:00
Remove commented lines of code
This commit is contained in:
parent
fefaa59d2e
commit
21cf89aa73
11
dist/index.js
vendored
11
dist/index.js
vendored
@ -578,17 +578,6 @@ function run() {
|
|||||||
if (sourceUrl) {
|
if (sourceUrl) {
|
||||||
auth.configAuthentication(sourceUrl, configFile);
|
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);
|
outputInstalledVersion(installedDotnetVersions, globalJsonFileInput);
|
||||||
const matchersPath = path_1.default.join(__dirname, '..', '.github');
|
const matchersPath = path_1.default.join(__dirname, '..', '.github');
|
||||||
core.info(`##[add-matcher]${path_1.default.join(matchersPath, 'csc.json')}`);
|
core.info(`##[add-matcher]${path_1.default.join(matchersPath, 'csc.json')}`);
|
||||||
|
@ -78,19 +78,6 @@ export async function run() {
|
|||||||
auth.configAuthentication(sourceUrl, configFile);
|
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);
|
outputInstalledVersion(installedDotnetVersions, globalJsonFileInput);
|
||||||
|
|
||||||
const matchersPath = path.join(__dirname, '..', '.github');
|
const matchersPath = path.join(__dirname, '..', '.github');
|
||||||
|
Loading…
Reference in New Issue
Block a user