-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ospaths] toSeq(parentDirs("/a/b")) returns @["/a/b", "/a", ""] instead of @["/a/b", "/a", "/"] (last entry wrong) #8353
Labels
Comments
Works fine when I compile it import ospaths
import sequtils
for e in parentDirs("/Users/benny/Work"):
echo(e)
echo(toSeq(parentDirs("/Users/benny/Work"))) |
Same with toSeq(parentDirs("/a/b")) outputs: |
yes, that's the problem, it should be |
Yea, I was misleading by the issue name. |
26 tasks
Merged
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Feb 4, 2019
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Feb 4, 2019
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Feb 4, 2019
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Feb 11, 2019
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: