diff options
| author | Brooks J Rady <b.j.rady@gmail.com> | 2021-09-19 16:50:23 +0100 |
|---|---|---|
| committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-09-19 16:50:23 +0100 |
| commit | 71b600b8210b611c312ec6358795eb073d66eb4a (patch) | |
| tree | b1df31245185c2fad0c5e4578548f566eb6218cf | |
| parent | fix(strider): update host mount-point (diff) | |
| download | sl0ppij-71b600b8210b611c312ec6358795eb073d66eb4a.tar.gz sl0ppij-71b600b8210b611c312ec6358795eb073d66eb4a.tar.xz sl0ppij-71b600b8210b611c312ec6358795eb073d66eb4a.zip | |
fix(plugin): create missing data directories as needed
| -rw-r--r-- | zellij-server/src/wasm_vm.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zellij-server/src/wasm_vm.rs b/zellij-server/src/wasm_vm.rs index 7475bf46..40967c5a 100644 --- a/zellij-server/src/wasm_vm.rs +++ b/zellij-server/src/wasm_vm.rs @@ -90,6 +90,7 @@ pub(crate) fn wasm_thread_main(bus: Bus<PluginInstruction>, store: Store, data_d let plugin_name = path.as_path().file_stem().unwrap(); let plugin_own_data_dir = plugin_global_data_dir.join(plugin_name); + fs::create_dir_all(&plugin_own_data_dir).unwrap(); let mut wasi_env = WasiState::new("Zellij") .env("CLICOLOR_FORCE", "1") |
