Mise à jour de GitLab prévue ce samedi 23 octobre 2021 à partir de 9h00 CET

Commit d01f2505 authored by Éloïs's avatar Éloïs
Browse files

fix(cli): --max-old-space-size is not conventional

parent 6733b275
Pipeline #12292 failed with stages
in 60 minutes and 34 seconds
......@@ -39,11 +39,7 @@ fn gen_webstart_args(args: &DuniterWebstartArgs, duniter_ts_args: &mut Vec<Strin
}
pub(crate) fn gen_duniter_ts_args(args: &DuniterArgs, duniter_js_exe: String) -> Vec<String> {
let mut duniter_ts_args = vec![
"--max-old-space-size".to_owned(),
"4096".to_owned(),
duniter_js_exe,
];
let mut duniter_ts_args = vec!["--max-old-space-size=4096".to_owned(), duniter_js_exe];
if let Some(ref home) = args.home {
duniter_ts_args.push("--home".to_owned());
duniter_ts_args.push(home.to_str().expect("invalid home path").to_owned());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment