Skip to content

Commit

Permalink
fix: dont add registry set line
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Nov 16, 2024
1 parent 89f75cf commit 779553a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bunfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 779553a

Please sign in to comment.