From 779553a1d9bf70b14617c6249e6e16d87dc67108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sat, 16 Nov 2024 12:01:32 +0100 Subject: [PATCH] fix: dont add registry set line --- src/bunfig.ts | 1 + 1 file changed, 1 insertion(+) 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 &&