Skip to content

Commit e5f5799

Browse files
authored
fix: incorrect cache name set when ELECTRON_BUILDER_CACHE env var is present (electron-userland#9293)
1 parent 193abcf commit e5f5799

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/modern-toes-invite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: incorrect cache name set when ELECTRON_BUILDER_CACHE env var is present

packages/app-builder-lib/src/binDownload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function getBin(cacheKey: string, url?: string | null, checksum?: string
5151
return promise
5252
}
5353

54-
promise = doGetBin(cacheName, url, checksum)
54+
promise = doGetBin(cacheKey, url, checksum)
5555
versionToPromise.set(cacheName, promise)
5656
return promise
5757
}

0 commit comments

Comments
 (0)