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