Code action Create module
crashes helix
if the folder for the module to be created does not exist
#1773
Labels
Create module
crashes helix
if the folder for the module to be created does not exist
#1773
When running the code action
Create module
,helix
crashes if the module file wants to be created in a folder that does not exist.Reproduction steps
src/lib.rs
contents:src/error.rs
contents:Run the code action
Create module
on the module above. When it sees that theerror
folder does not exist (it wants to createsrc/error/running_create_module_code_action_on_me_will_crash_helix.rs
)helix
will crash with:Expected outcome
helix
should first create the folder, and then the file.Environment
v0.5.0-833-gf1e90ac2
~/.cache/helix/helix.log
The text was updated successfully, but these errors were encountered: