diff --git a/__tests__/setup-dotnet.test.ts b/__tests__/setup-dotnet.test.ts index 76d06e6..7ad8be8 100644 --- a/__tests__/setup-dotnet.test.ts +++ b/__tests__/setup-dotnet.test.ts @@ -53,9 +53,11 @@ describe('setup-dotnet tests', () => { fs.writeFileSync(globalJsonPath, jsonContents); } - const version = '3.1' - const installer = new dotnetInstaller.DotnetCoreInstaller(version) - const patchVersion = await installer.resolveVersion(new dotnetInstaller.DotNetVersionInfo(version)) + const version = '3.1'; + const installer = new dotnetInstaller.DotnetCoreInstaller(version); + const patchVersion = await installer.resolveVersion( + new dotnetInstaller.DotNetVersionInfo(version) + ); await setup.run(); expect(fs.existsSync(path.join(toolDir, 'sdk', patchVersion))).toBe(true);