From 72dbe58ade646891d08e950459f7a7ae3b0de9ca Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 15 Dec 2017 09:10:35 +0100 Subject: [PATCH] chore: add path details to npmrc and yarnrc log --- lib/workers/branch/lock-files.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/workers/branch/lock-files.js b/lib/workers/branch/lock-files.js index 5d2c621701..87b6326263 100644 --- a/lib/workers/branch/lock-files.js +++ b/lib/workers/branch/lock-files.js @@ -92,11 +92,11 @@ function determineLockFileDirs(config) { async function writeExistingFiles(config) { if (config.npmrc) { - logger.debug('Writing repo .npmrc'); + logger.debug({ path: config.tmpDir.path }, 'Writing repo .npmrc'); await fs.outputFile(upath.join(config.tmpDir.path, '.npmrc'), config.npmrc); } if (config.yarnrc) { - logger.debug('Writing repo .yarnrc'); + logger.debug({ path: config.tmpDir.path }, 'Writing repo .yarnrc'); await fs.outputFile( upath.join(config.tmpDir.path, '.yarnrc'), config.yarnrc -- GitLab