mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-04-04 02:30:10 +08:00
fix: dont add registry set line
This commit is contained in:
parent
89f75cf12f
commit
779553a1d9
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user