Closed airarrazaval closed 3 years ago
As the title says, circular symbolic links causes an infinite loop. To replicate this issue you can do the following:
mkdir test cd test ln -s . symlink
Then in your script if you run the following:
const directoryTree = require('directory-tree'); directoryTree('/path/to/test/folder');
Fixed in #90. Thanks!
As the title says, circular symbolic links causes an infinite loop. To replicate this issue you can do the following:
Then in your script if you run the following: