diff --git a/src/bunfig.ts b/src/bunfig.ts index 3b0cb94..95c246c 100644 --- a/src/bunfig.ts +++ b/src/bunfig.ts @@ -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 &&