mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-11-04 07:33:45 +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 () => {
 | 
					  it('Acquires generic version of dotnet if no matching version is installed', async () => {
 | 
				
			||||||
    await getDotnet('3.1');
 | 
					    await getDotnet('3.1');
 | 
				
			||||||
    var directory = fs
 | 
					    var directory = fs
 | 
				
			||||||
      .readdirSync(path.join('/usr/local/share/dotnet/', 'sdk'))
 | 
					      .readdirSync(path.join(toolDir, 'sdk'))
 | 
				
			||||||
      .filter(fn => fn.startsWith('3.1.'));
 | 
					      .filter(fn => fn.startsWith('3.1.'));
 | 
				
			||||||
    expect(directory.length > 0).toBe(true);
 | 
					    expect(directory.length > 0).toBe(true);
 | 
				
			||||||
    if (IS_WINDOWS) {
 | 
					    if (IS_WINDOWS) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user