Skip to content

Conversation

@sabiwara
Copy link
Contributor

@sabiwara sabiwara commented Jul 5, 2025

Probably not a very frequent case but it might be puzzling to ls some_file/foo and get back a non-existing path.
This makes it consistent with the shell ls:

Screenshot 2025-07-05 at 15 53 27

@sabiwara
Copy link
Contributor Author

sabiwara commented Jul 5, 2025

OK the "ls existing_file" case seemed not to work Windows because it returned :eio and not :enotdir.

I think moving the check if it's a file before should fix it: 2851944.

@sabiwara sabiwara merged commit 57c254f into elixir-lang:main Jul 5, 2025
13 checks passed
@sabiwara sabiwara deleted the iex-ls-file branch July 5, 2025 08:49
ggVGc pushed a commit to ggVGc/elixir-verbatim that referenced this pull request Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants