Skip to content

Commit

Permalink
feat: log manifest path
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 7, 2020
1 parent ec4c892 commit db451e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/createInlinePluginCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions lib/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit db451e8

Please sign in to comment.