Skip to content

Commit 5bc66a9

Browse files
authored
Merge pull request #84 from satackey/fix-#37-filename-too-long
Fix filename too long error on Windows
2 parents ffe97b3 + 16f51f5 commit 5bc66a9

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)