Skip to content

Commit 5441439

Browse files
authored
docs: print warnings with no defined depth using console.dir API
* docs: print warnings with no defined depth using console.dir API
1 parent 06f2c32 commit 5441439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const inTryDeps = [...dependencies.getDependenciesInTryStatement()];
7878

7979
console.log(dependenciesName);
8080
console.log(inTryDeps);
81-
console.log(warnings);
81+
console.dir(warnings, { depth: null });
8282
```
8383

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

0 commit comments

Comments
 (0)