From db451e877e53e54487019978ee20bd03c64fa992 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Sat, 7 Mar 2020 21:43:41 +0300 Subject: [PATCH] feat: log manifest path --- lib/createInlinePluginCreator.js | 1 + lib/debug.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/createInlinePluginCreator.js b/lib/createInlinePluginCreator.js index f2481e97..7100ea61 100644 --- a/lib/createInlinePluginCreator.js +++ b/lib/createInlinePluginCreator.js @@ -37,6 +37,7 @@ function createInlinePluginCreator(packages, multiContext) { const manifest = getManifest(path); dbg("name=", manifest.name); + dbg("path=", path); // Loop through localDeps to update dependencies/devDependencies/peerDependencies in manifest. pkg._localDeps.forEach(d => { // Get version of dependency. diff --git a/lib/debug.js b/lib/debug.js index e89726e5..75f99ed8 100644 --- a/lib/debug.js +++ b/lib/debug.js @@ -5,9 +5,9 @@ const logger = getLogger({ stdout: process.stdout, stderr: process.stderr }); let opts; const createDebugger = prefix => (...input) => { - if (get(opts, prefix || "")) { - return logger.log(...input); - } + // if (get(opts, prefix || "")) { + return logger.log(...input); + // } }; const debug = createDebugger();