lukeed / totalist

A tiny (195B to 224B) utility to recursively list all (total) files in a directory
MIT License
152 stars 5 forks source link

Infinite recursion #1

Open aleclarson opened 4 years ago

aleclarson commented 4 years ago

Symlink loops make this package crash the process.

Solution: Use a Set to track encountered directories.

GauBen commented 1 month ago

Same issue on my end, my monorepo creates a symlink loop. Using sirv in dev mode fixes the issue