linter fixes

This commit is contained in:
Zachary Taylor 2025-01-02 00:13:37 +00:00
parent 0b32034241
commit 8bcd8d8b49
4 changed files with 798 additions and 803 deletions

View File

@ -5,11 +5,7 @@ import path = require('path');
const fakeSourcesDirForTesting = path.join( const fakeSourcesDirForTesting = path.join(
__dirname, __dirname,
'runner', 'runner',
path.join( path.join(Math.random().toString(36).substring(7)),
Math.random()
.toString(36)
.substring(7)
),
's' 's'
); );

View File

@ -38,9 +38,8 @@ export async function run() {
} }
if (versions.length) { if (versions.length) {
const includePrerelease: boolean = core.getBooleanInput( const includePrerelease: boolean =
'include-prerelease' core.getBooleanInput('include-prerelease');
);
let dotnetInstaller!: installer.DotnetCoreInstaller; let dotnetInstaller!: installer.DotnetCoreInstaller;
for (const version of new Set<string>(versions)) { for (const version of new Set<string>(versions)) {
dotnetInstaller = new installer.DotnetCoreInstaller( dotnetInstaller = new installer.DotnetCoreInstaller(