Closed MaximeLM closed 5 years ago
Hello,
let rootFolder = try Folder(path: "/") let subfolder = rootFolder.subfolders.first print(subfolder?.parent?.path)
Expected result: Optional("/") Actual result: current working directory
Optional("/")
Because of this bug, iterating over a folder parents triggers an inifinite loop.
I will submit a pull request with the fix.
Hello,
Expected result:
Optional("/")
Actual result: current working directoryBecause of this bug, iterating over a folder parents triggers an inifinite loop.
I will submit a pull request with the fix.