From 1dbdd42feea08613de5f2e8bf22a0f446e5dc560 Mon Sep 17 00:00:00 2001 From: Daniel Lamando Date: Wed, 28 Apr 2021 22:33:16 +0200 Subject: [PATCH] Fix string interpolation when caching canaries (#2) Previously, any canary's cache key would be `0.0.0-[object Object]` which isn't terribly ideal if multiple canaries are at play. --- src/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.js b/src/install.js index b5a920f9..f88e8c9e 100644 --- a/src/install.js +++ b/src/install.js @@ -29,7 +29,7 @@ async function install(version) { const newCachedPath = await tc.cacheDir( extractedFolder, "deno", - version.isCanary ? `0.0.0-${version}` : version.version, + version.isCanary ? `0.0.0-${version.version}` : version.version, ); core.info(`Cached Deno to ${newCachedPath}.`); core.addPath(newCachedPath);