chore: remove unnecessary debug
This commit is contained in:
parent
0bb27cd4ae
commit
3ab9006bdc
1 changed files with 0 additions and 5 deletions
|
@ -114,13 +114,10 @@ impl Config {
|
||||||
.filter(|l| !l.is_empty())
|
.filter(|l| !l.is_empty())
|
||||||
.filter(|l| !l.starts_with('#'))
|
.filter(|l| !l.starts_with('#'))
|
||||||
{
|
{
|
||||||
trace!("line: {line}");
|
|
||||||
if line.starts_with('[') && line.contains(']') {
|
if line.starts_with('[') && line.contains(']') {
|
||||||
current_section = line[1..line.find(']').unwrap()].to_string();
|
current_section = line[1..line.find(']').unwrap()].to_string();
|
||||||
seen_keys.clear();
|
seen_keys.clear();
|
||||||
trace!("current_section: {current_section}");
|
|
||||||
} else if let Some((key, value)) = line.split_once('=') {
|
} else if let Some((key, value)) = line.split_once('=') {
|
||||||
trace!("key: {key}, value: {value}");
|
|
||||||
let key_trimmed_string = key.trim().replace('"', "");
|
let key_trimmed_string = key.trim().replace('"', "");
|
||||||
let key_trimmed = key_trimmed_string.as_str();
|
let key_trimmed = key_trimmed_string.as_str();
|
||||||
|
|
||||||
|
@ -249,8 +246,6 @@ impl Config {
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
debug!("Seen: {:#?}", seen_keys);
|
|
||||||
|
|
||||||
Ok(config)
|
Ok(config)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue