Skip to content

Commit e324049

Browse files
committed
Get the key right
1 parent fc813c8 commit e324049

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/install.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/install.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/install.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export async function install(platform: string, release: string, products: strin
2727

2828

2929
const matlabLocation = "/opt/matlab/";
30-
const key = platform + release + (products.sort().join("-"));
30+
const productHash = products.sort().join("-"); // TODO: Make a real hash
31+
const key = [platform, release, productHash].join("-");
3132

3233
let cacheKey;
3334

0 commit comments

Comments
 (0)