mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-04-04 18:50:10 +08:00
Merge 748b1fd9f1cd5ab92a4ab45f6d96c3d97d9887e0 into 54cb141c5c91e2fdc396be3155a391f28e1822eb
This commit is contained in:
commit
b44d3f01cf
@ -31,7 +31,7 @@ export function createBunfig(options: BunfigOptions): string | null {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (url && !owner) {
|
if (url && !owner) {
|
||||||
return `[install]${EOL}registry = "${url}"${EOL}`;
|
return `[install]${EOL}registry = { token = "$BUN_AUTH_TOKEN", url = "${url}"}${EOL}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user