We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533f626 commit b48fcfcCopy full SHA for b48fcfc
lib/cli/commands/tree.js
@@ -43,7 +43,7 @@ tree.handler = async function(argv) {
43
elapsedTime = await getElapsedTime(startTime);
44
}
45
46
- const projects = {};
+ const projects = Object.create(null);
47
const indentWidth = 4;
48
await graph.traverseBreadthFirst(async ({project, getDependencies}) => {
49
const deps = getDependencies().map((dep) => {
0 commit comments