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

Leaving `\\` at the end of a path in `copyDir` removes every file's first char #9126

Closed
UnnoTed opened this Issue Sep 29, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@UnnoTed
Copy link

UnnoTed commented Sep 29, 2018

Tested in windows 10, the same issue happens with copyDirWithPermissions.

var myPath = "C:\\thePath\\"
copyDir(myPath & "theOldDirectory\\", myPath & "theNewDirectory\\")

komainu8 added a commit to komainu8/Nim that referenced this issue Sep 30, 2018

komainu8 added a commit to komainu8/Nim that referenced this issue Sep 30, 2018

@Araq Araq closed this in 5298c50 Oct 1, 2018

Araq added a commit that referenced this issue Oct 1, 2018

Merge pull request #9134 from komainu8/fix_issues_9126
Fix #9126: use splitPath instead of substr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment