fix: dont add registry set line

This commit is contained in:
Jozef Steinhübl 2024-11-16 12:01:32 +01:00
parent 89f75cf12f
commit 779553a1d9
No known key found for this signature in database
GPG Key ID: E6BC90C91973B08F

View File

@ -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 &&