Skip to content

Commit

Permalink
docs: print warnings with no defined depth using console.dir API
Browse files Browse the repository at this point in the history
* docs: print warnings with no defined depth using console.dir API
  • Loading branch information
zxkmm authored Dec 17, 2023
1 parent 06f2c32 commit 5441439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const inTryDeps = [...dependencies.getDependenciesInTryStatement()];

console.log(dependenciesName);
console.log(inTryDeps);
console.log(warnings);
console.dir(warnings, { depth: null });
```

The analysis will return: `http` (in try), `crypto`, `util` and `fs`.
Expand Down

0 comments on commit 5441439

Please sign in to comment.