Skip to content

Commit 16f51f5

Browse files
committed
Fix filename too long error on Windows
1 parent 377dbd3 commit 16f51f5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/LayerCache.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LayerCache {
1414
ids: string[] = []
1515
unformattedSaveKey: string = ''
1616
restoredRootKey: string = ''
17-
imagesDir: string = path.resolve(`${__dirname}/../.action-docker-layer-caching-docker_images`)
17+
imagesDir: string = path.resolve(`${__dirname}/../.adlc`)
1818
enabledParallel = true
1919
concurrency: number = 4
2020

@@ -178,8 +178,6 @@ class LayerCache {
178178
}
179179

180180
private async restoreLayers(): Promise<boolean> {
181-
182-
183181
const pool = new PromisePool(this.concurrency)
184182
const tasks = (await this.getLayerIds()).map(
185183
layerId => pool.open(() => this.restoreSingleLayerBy(layerId))

0 commit comments

Comments
 (0)