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

logs: log dep name with pin message

parent 6cb8f7f5
No related branches found
No related tags found
No related merge requests found
......@@ -25,12 +25,12 @@ function getRangeStrategy(config) {
}
if (depType === 'devDependencies') {
// Always pin devDependencies
logger.debug({ depName }, 'Pinning devDependency');
logger.debug({ dependency: depName }, 'Pinning devDependency');
return 'pin';
}
if (depType === 'dependencies' && packageJsonType === 'app') {
// Pin dependencies if we're pretty sure it's not a browser library
logger.debug('Pinning app dependency');
logger.debug({ dependency: depName }, 'Pinning app dependency');
return 'pin';
}
if (depType === 'peerDependencies') {
......
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