mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 19:41:08 +07:00
Prettier
This commit is contained in:
parent
5e45b4b591
commit
f3822c3b02
@ -53,9 +53,11 @@ describe('setup-dotnet tests', () => {
|
|||||||
fs.writeFileSync(globalJsonPath, jsonContents);
|
fs.writeFileSync(globalJsonPath, jsonContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
const version = '3.1'
|
const version = '3.1';
|
||||||
const installer = new dotnetInstaller.DotnetCoreInstaller(version)
|
const installer = new dotnetInstaller.DotnetCoreInstaller(version);
|
||||||
const patchVersion = await installer.resolveVersion(new dotnetInstaller.DotNetVersionInfo(version))
|
const patchVersion = await installer.resolveVersion(
|
||||||
|
new dotnetInstaller.DotNetVersionInfo(version)
|
||||||
|
);
|
||||||
await setup.run();
|
await setup.run();
|
||||||
|
|
||||||
expect(fs.existsSync(path.join(toolDir, 'sdk', patchVersion))).toBe(true);
|
expect(fs.existsSync(path.join(toolDir, 'sdk', patchVersion))).toBe(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user