mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-11-01 03:01:53 +08:00 
			
		
		
		
	Update memoization to lodash implementation
This commit is contained in:
		| @ -6,8 +6,7 @@ import { | ||||
|   PackageManagerInfo, | ||||
|   isCacheFeatureAvailable, | ||||
|   supportedPackageManagers, | ||||
|   getCommandOutput, | ||||
|   resetProjectDirectoriesMemoized | ||||
|   getProjectDirectoriesFromCacheDependencyPath | ||||
| } from '../src/cache-utils'; | ||||
| import fs from 'fs'; | ||||
| import * as cacheUtils from '../src/cache-utils'; | ||||
| @ -123,7 +122,7 @@ describe('cache-utils', () => { | ||||
|           MockGlobber.create(['/foo', '/bar']) | ||||
|       ); | ||||
|  | ||||
|       resetProjectDirectoriesMemoized(); | ||||
|       getProjectDirectoriesFromCacheDependencyPath.cache.clear?.(); | ||||
|     }); | ||||
|  | ||||
|     afterEach(() => { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Nikolai Laevskii
					Nikolai Laevskii