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

No output when used list-dir on root directory / #2474

Closed
Oldes opened this issue Dec 22, 2021 · 1 comment
Closed

No output when used list-dir on root directory / #2474

Oldes opened this issue Dec 22, 2021 · 1 comment
Labels
Oldes.resolved Bugs/wishes with Oldes' fixes/features Test.written Type.bug

Comments

@Oldes
Copy link
Owner

Oldes commented Dec 22, 2021

Currently there is no output when trying to list root directory:

>> ls /
>>
@Oldes Oldes added the Type.bug label Dec 22, 2021
@Oldes
Copy link
Owner Author

Oldes commented Dec 22, 2021

The reason is, that split-path returns none for the file part in these cases:

== [%/ none]
>> split-path %./
== [%./ none]
>> split-path %../
== [%../ none]

There should be %"" instead.

@Oldes Oldes added Oldes.resolved Bugs/wishes with Oldes' fixes/features Test.written labels Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Oldes.resolved Bugs/wishes with Oldes' fixes/features Test.written Type.bug
Projects
None yet
Development

No branches or pull requests

1 participant