Skip to content
Snippets Groups Projects
Commit 380fef21 authored by Éloïs's avatar Éloïs
Browse files

[fix] launcher: param --home is not forwarded correctly

parent 4a3083a0
No related branches found
No related tags found
1 merge request!1335Gva proto 2
...@@ -45,7 +45,7 @@ pub(crate) fn gen_duniter_ts_args(args: &DuniterArgs, duniter_js_exe: String) -> ...@@ -45,7 +45,7 @@ pub(crate) fn gen_duniter_ts_args(args: &DuniterArgs, duniter_js_exe: String) ->
let mut duniter_ts_args = Vec::new(); let mut duniter_ts_args = Vec::new();
duniter_ts_args.push(duniter_js_exe); duniter_ts_args.push(duniter_js_exe);
if let Some(ref home) = args.home { if let Some(ref home) = args.home {
duniter_ts_args.push("--mdb".to_owned()); duniter_ts_args.push("--home".to_owned());
duniter_ts_args.push(home.to_str().expect("invalid home path").to_owned()); duniter_ts_args.push(home.to_str().expect("invalid home path").to_owned());
} }
if let Some(ref log_level) = args.log { if let Some(ref log_level) = args.log {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment