Skip to content

Commit 00d8652

Browse files
committed
[INTERNAL] npm t8r: Minor logging change
The logged tree is only showing the top level projects. Dependencies are shown as "[Array]". I got confused by this more than once, yet seeing the top level makes sense especially when it comes to collections. Maybe this renaming helps.
1 parent 1377ec2 commit 00d8652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/translators/npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ class NpmTranslator {
429429
for (let i = 0; i < tree.length; i++) {
430430
const rootPackage = tree[i];
431431
if (path.resolve(rootPackage.path) === path.resolve(dirPath)) {
432-
log.verbose("Built tree:");
432+
log.verbose("Treetop:");
433433
log.verbose(rootPackage);
434434
return rootPackage;
435435
}

0 commit comments

Comments
 (0)