|
|
|
@ -167,14 +167,12 @@ const getCacheDirectoriesFromCacheDependencyPath = async (
|
|
|
|
|
packageManagerInfo: PackageManagerInfo,
|
|
|
|
|
cacheDependencyPath: string
|
|
|
|
|
): Promise<string[]> => {
|
|
|
|
|
const projectDirectories = await getProjectDirectoriesFromCacheDependencyPath(
|
|
|
|
|
cacheDependencyPath
|
|
|
|
|
);
|
|
|
|
|
const projectDirectories =
|
|
|
|
|
await getProjectDirectoriesFromCacheDependencyPath(cacheDependencyPath);
|
|
|
|
|
const cacheFoldersPaths = await Promise.all(
|
|
|
|
|
projectDirectories.map(async projectDirectory => {
|
|
|
|
|
const cacheFolderPath = await packageManagerInfo.getCacheFolderPath(
|
|
|
|
|
projectDirectory
|
|
|
|
|
);
|
|
|
|
|
const cacheFolderPath =
|
|
|
|
|
await packageManagerInfo.getCacheFolderPath(projectDirectory);
|
|
|
|
|
core.debug(
|
|
|
|
|
`${packageManagerInfo.name}'s cache folder "${cacheFolderPath}" configured for the directory "${projectDirectory}"`
|
|
|
|
|
);
|
|
|
|
|