mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 18:50:10 +08:00
feat: save globally
This commit is contained in:
parent
abb197cc10
commit
eba3792fc2
@ -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…
x
Reference in New Issue
Block a user