mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
feat: save globally
This commit is contained in:
parent
6cb53bc24b
commit
2eed6961ec
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export type CacheState = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export default async (options: Input): Promise<Output> => {
|
export default async (options: Input): Promise<Output> => {
|
||||||
const bunfigPath = join(process.cwd(), "bunfig.toml");
|
const bunfigPath = join(homedir(), ".bunfig.toml");
|
||||||
writeBunfig(bunfigPath, options.registries);
|
writeBunfig(bunfigPath, options.registries);
|
||||||
|
|
||||||
const url = getDownloadUrl(options);
|
const url = getDownloadUrl(options);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue