From eba3792fc28d616fb6d3ca4eb26709bd1da3b96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sun, 8 Dec 2024 18:57:54 +0100 Subject: [PATCH] feat: save globally --- src/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action.ts b/src/action.ts index 9db6df4..608d57c 100644 --- a/src/action.ts +++ b/src/action.ts @@ -43,7 +43,7 @@ export type CacheState = { }; export default async (options: Input): Promise => { - const bunfigPath = join(process.cwd(), "bunfig.toml"); + const bunfigPath = join(homedir(), ".bunfig.toml"); writeBunfig(bunfigPath, options.registries); const url = getDownloadUrl(options);