fix: Script profile invalid

#347
This commit is contained in:
MystiPanda 2024-02-06 08:55:44 +08:00
parent 067018828c
commit b67db4a896

View File

@ -66,6 +66,7 @@ pub fn enhance() -> (Mapping, Vec<String>, HashMap<String, ResultLog>) {
match use_script(script, config.to_owned()) {
Ok((res_config, res_logs)) => {
exists_keys.extend(use_keys(&res_config));
config = res_config;
logs.extend(res_logs);
}
Err(err) => logs.push(("exception".into(), err.to_string())),