We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93216f9 commit e2c4617Copy full SHA for e2c4617
lib/modules/manager/pep621/processors/uv.ts
@@ -339,6 +339,11 @@ async function getUvIndexCredentials(
339
const entries = [];
340
341
for (const { name, url } of uv_indexes) {
342
+ // istanbul ignore if
343
+ if (!name) {
344
+ continue;
345
+ }
346
+
347
const parsedUrl = parseUrl(url);
348
// istanbul ignore if
349
if (!parsedUrl) {
lib/modules/manager/pep621/schema.ts
@@ -79,7 +79,7 @@ const UvSchema = z.object({
79
index: z
80
.array(
81
z.object({
82
- name: z.string(),
+ name: z.string().optional(),
83
url: z.string(),
84
default: z.boolean().default(false),
85
explicit: z.boolean().default(false),
0 commit comments