From ed3d8e6115b7e62d215fef2d43ee5be244fc2575 Mon Sep 17 00:00:00 2001 From: Philip <42116482+PhilipAbed@users.noreply.github.com> Date: Thu, 8 Sep 2022 10:50:41 +0300 Subject: [PATCH] fix(datasource/crates): Crates files are in lower case, lowercase the url package name (#17608) --- lib/modules/datasource/crate/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/datasource/crate/index.ts b/lib/modules/datasource/crate/index.ts index 482903e4d9..3d9aff4794 100644 --- a/lib/modules/datasource/crate/index.ts +++ b/lib/modules/datasource/crate/index.ts @@ -168,7 +168,7 @@ export class CrateDatasource extends Datasource { if (info.flavor === RegistryFlavor.CratesIo) { const crateUrl = CrateDatasource.CRATES_IO_BASE_URL + - CrateDatasource.getIndexSuffix(packageName).join('/'); + CrateDatasource.getIndexSuffix(packageName.toLowerCase()).join('/'); try { return (await this.http.get(crateUrl)).body; } catch (err) { -- GitLab