mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 04:58:25 +02:00
fix: dont add registry set line
This commit is contained in:
parent
0045b01821
commit
baad454173
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ export function writeBunfig(path: string, registries: Registry[]): void {
|
|||
}
|
||||
|
||||
if (
|
||||
line.startsWith("registry = ") ||
|
||||
!bunfig.some(
|
||||
(field) =>
|
||||
field.type === FieldType.INSTALL_WITH_SCOPE &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue