mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-20 07:35:10 +00:00
Fix file search
This commit is contained in:
parent
334c3f624b
commit
f352e60b67
@ -62,7 +62,7 @@ describe('installer tests', () => {
|
||||
it('Acquires generic version of dotnet if no matching version is installed', async () => {
|
||||
await getDotnet('3.1');
|
||||
var directory = fs
|
||||
.readdirSync(path.join('/usr/local/share/dotnet/', 'sdk'))
|
||||
.readdirSync(path.join(toolDir, 'sdk'))
|
||||
.filter(fn => fn.startsWith('3.1.'));
|
||||
expect(directory.length > 0).toBe(true);
|
||||
if (IS_WINDOWS) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user