Skip to content

Commit 779553a

Browse files
committed
fix: dont add registry set line
1 parent 89f75cf commit 779553a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bunfig.ts

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ export function writeBunfig(path: string, registries: Registry[]): void {
140140
}
141141

142142
if (
143+
line.startsWith("registry = ") ||
143144
!bunfig.some(
144145
(field) =>
145146
field.type === FieldType.INSTALL_WITH_SCOPE &&

0 commit comments

Comments
 (0)