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

refactor: log lockfileUpdate

parent bb5c6652
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,7 @@ async function generateLockFile(
logger.debug(`npm stderr:\n${stderr}`);
const lockUpdates = upgrades.filter(upgrade => upgrade.isLockfileUpdate);
if (lockUpdates.length) {
logger.info('Performing lockfileUpdate (npm)');
const updateCmd =
cmd +
lockUpdates
......
......@@ -93,6 +93,7 @@ async function generateLockFile(cwd, env, config = {}, upgrades = []) {
.filter(upgrade => upgrade.isLockfileUpdate)
.map(upgrade => upgrade.depName);
if (lockUpdates.length) {
logger.info('Performing lockfileUpdate (yarn)');
const updateCmd =
cmd +
' upgrade' +
......
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