Skip to content

Commit 0af6de2

Browse files
committed
Add deny_unknown_fields
1 parent 010bdaf commit 0af6de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocks/timewarrior.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use chrono::DateTime;
3939
use tokio::process::Command;
4040

4141
#[derive(Deserialize, Debug, SmartDefault)]
42-
#[serde(default)]
42+
#[serde(deny_unknown_fields, default)]
4343
pub struct Config {
4444
#[default(30.into())]
4545
interval: Seconds,

0 commit comments

Comments
 (0)