Skip to content
Snippets Groups Projects
Commit 33d488b0 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: pypi get logging

parent d0413e7c
No related branches found
No related tags found
No related merge requests found
......@@ -173,8 +173,13 @@ export async function getPkgReleases({
hostUrl += hostUrl.endsWith('/') ? '' : '/';
let dep: ReleaseResult;
if (hostUrl.endsWith('/simple/') || hostUrl.endsWith('/+simple/')) {
logger.debug(
{ lookupName, hostUrl },
'Looking up pypi simple dependency'
);
dep = await getSimpleDependency(lookupName, hostUrl);
} else {
logger.debug({ lookupName, hostUrl }, 'Looking up pypi api dependency');
dep = await getDependency(lookupName, hostUrl, compatibility);
}
if (dep !== null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment