From dfd85677458c013d09cf95f46087f1e1f9796d05 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Mon, 11 Jul 2022 10:11:25 +0200 Subject: [PATCH] debug --- src/utils/install.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/install.ts b/src/utils/install.ts index 9cf123d..dc070df 100644 --- a/src/utils/install.ts +++ b/src/utils/install.ts @@ -4,6 +4,7 @@ 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: Release) => { const cache = find('bun', release.tag_name); @@ -31,5 +32,6 @@ export default async(release: Release) => { console.log(extracted); const bunPath = join(getHomeDir(), ".bun", "bin"); + console.log(readdirSync(bunPath)); addPath(bunPath); } \ No newline at end of file