diff --git a/lib/dependency.ts b/lib/dependency.ts index b670b403..2258c9f9 100644 --- a/lib/dependency.ts +++ b/lib/dependency.ts @@ -274,7 +274,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, }; } }