Describe the bug
When path() is the root of a windows driveletter, depth(0) is not restricted to the root. It will also find files in the first directory level.
To Reproduce
Steps to reproduce the behaviour:
const files = FileHound.create() .path('z:\\') .depth(0) .find();
Expected behaviour
Files are also detected in the first level of subdirectories.
Describe the bug
When path() is the root of a windows driveletter, depth(0) is not restricted to the root. It will also find files in the first directory level.
To Reproduce
Steps to reproduce the behaviour:
const files = FileHound.create() .path('z:\\') .depth(0) .find();Expected behaviour
Files are also detected in the first level of subdirectories.