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

logs: debug rollback versions, not info

parent 91215af1
No related branches found
No related tags found
No related merge requests found
...@@ -29,9 +29,10 @@ function getRollbackUpdate(config, versions) { ...@@ -29,9 +29,10 @@ function getRollbackUpdate(config, versions) {
return null; return null;
} }
logger.info( logger.info(
{ packageFile, depName, currentValue, versions }, { packageFile, depName, currentValue },
`Current version not found - rolling back` `Current version not found - rolling back`
); );
logger.debug({ depName, versions }, 'Versions found before rolling back');
lessThanVersions.sort(sortVersions); lessThanVersions.sort(sortVersions);
const toVersion = lessThanVersions.pop(); const toVersion = lessThanVersions.pop();
let fromVersion; let fromVersion;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment