Skip to content
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

a path with trailing slash results doubled slash path #209

Open
ichihara-3 opened this issue Jul 8, 2020 · 0 comments · May be fixed by #210
Open

a path with trailing slash results doubled slash path #209

ichihara-3 opened this issue Jul 8, 2020 · 0 comments · May be fixed by #210

Comments

@ichihara-3
Copy link

When the path with a trailing slash like path/to/dir/ is set to the PATH argument, the file paths in the result become doubled slash paths like path/to/dir//found/file.txt.

It would be good to clean the paths.

example::

$ tree
.
└── examples
    ├── a
    │   └── A.txt
    ├── b
    │   └── B.txt
    └── c

4 directories, 2 files
$ pt hello examples/
examples//a/A.txt
1:hello

examples//b/B.txt
1:hello world
@ichihara-3 ichihara-3 linked a pull request Jul 9, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant