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

Panic when trying to run heilx on non-existent file #25

Closed
cojis opened this issue Jun 1, 2021 · 1 comment · Fixed by #45
Closed

Panic when trying to run heilx on non-existent file #25

cojis opened this issue Jun 1, 2021 · 1 comment · Fixed by #45

Comments

@cojis
Copy link

cojis commented Jun 1, 2021

Running hx on a non-existent file (to create it) will panic on osx. File has to be created before hx can open/edit

hx test.go
---
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)', helix-term/src/main.rs:117:46
@IceDragon200
Copy link
Contributor

@cojis Latest versions of helix no longer panic, but it still does error instead of opening an empty buffer, there is a PR open to have it behave like that however

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.

2 participants