From 32f942a87d2bb9519a9509a35586398de7b49c4f Mon Sep 17 00:00:00 2001 From: xHyroM Date: Tue, 12 Jul 2022 09:11:55 +0200 Subject: [PATCH] chore: build --- dist/utils/install.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/utils/install.js b/dist/utils/install.js index fa23c5e..11c702e 100644 --- a/dist/utils/install.js +++ b/dist/utils/install.js @@ -4,12 +4,15 @@ import { addPath, info } from '@actions/core'; import getAsset from './getAsset.js'; import getHomeDir from './getHomeDir.js'; import { join } from 'path'; +import { readdirSync } from 'fs'; export default async (release) => { const asset = getAsset(release.assets); const path = join(getHomeDir(), '.bun', 'bin'); const cache = find('bun', release.version) || await restoreCache([path], `bun-${process.platform}-${asset.name}`); if (cache) { info(`Using cached Bun installation from ${cache}.`); + console.log(path); + console.log(readdirSync(path)); addPath(path); return; }