mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-01-18 14:21:44 +07:00
linter fixes
This commit is contained in:
parent
0b32034241
commit
8bcd8d8b49
@ -5,11 +5,7 @@ import path = require('path');
|
||||
const fakeSourcesDirForTesting = path.join(
|
||||
__dirname,
|
||||
'runner',
|
||||
path.join(
|
||||
Math.random()
|
||||
.toString(36)
|
||||
.substring(7)
|
||||
),
|
||||
path.join(Math.random().toString(36).substring(7)),
|
||||
's'
|
||||
);
|
||||
|
||||
|
@ -38,9 +38,8 @@ export async function run() {
|
||||
}
|
||||
|
||||
if (versions.length) {
|
||||
const includePrerelease: boolean = core.getBooleanInput(
|
||||
'include-prerelease'
|
||||
);
|
||||
const includePrerelease: boolean =
|
||||
core.getBooleanInput('include-prerelease');
|
||||
let dotnetInstaller!: installer.DotnetCoreInstaller;
|
||||
for (const version of new Set<string>(versions)) {
|
||||
dotnetInstaller = new installer.DotnetCoreInstaller(
|
||||
|
Loading…
Reference in New Issue
Block a user