fix: dont add registry set line
This commit is contained in:
parent
0045b01821
commit
baad454173
@ -140,6 +140,7 @@ export function writeBunfig(path: string, registries: Registry[]): void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
line.startsWith("registry = ") ||
|
||||||
!bunfig.some(
|
!bunfig.some(
|
||||||
(field) =>
|
(field) =>
|
||||||
field.type === FieldType.INSTALL_WITH_SCOPE &&
|
field.type === FieldType.INSTALL_WITH_SCOPE &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user