diff --git a/lib/dependency.ts b/lib/dependency.ts index 1a4e7964..ff28a7eb 100644 --- a/lib/dependency.ts +++ b/lib/dependency.ts @@ -268,7 +268,7 @@ async function _resolveLatestVersion( ...latest, // Preserve the original path if it is the root, which is unlikely to be // included in the redirected URL. - // path: dependency.path === "/" ? "/" : latest.path, + path: dependency.path === "/" ? "/" : latest.path, }; } }