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

logs: don’t warn for lock file maintenance lerna

parent fb891c97
No related branches found
No related tags found
No related merge requests found
......@@ -604,10 +604,17 @@ async function getAdditionalFiles(config, packageFiles) {
logger.trace('File is unchanged');
}
} catch (err) {
logger.warn(
{ lockFilePath },
'No lock file found after lerna bootstrap'
);
if (config.updateType === 'lockFileMaintenance') {
logger.info(
{ lockFilePath },
'No lock file found after lerna bootstrap'
);
} else {
logger.warn(
{ lockFilePath },
'No lock file found after lerna bootstrap'
);
}
}
} else {
logger.trace('No lock file found');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment