Skip to content

Commit 44d2698

Browse files
bicarlsenctron
authored andcommitted
Fixed bugs.
1 parent 5f1911c commit 44d2698

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/models/hook.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl Hook {
5858
}
5959

6060
/// Hook override config.
61-
#[derive(Clone, Debug, Deserialize, Default)]
61+
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize, JsonSchema)]
6262
#[serde(rename_all = "snake_case")]
6363
pub struct HookOverrides {
6464
pub windows: Option<HookOverride>,
@@ -67,7 +67,7 @@ pub struct HookOverrides {
6767
}
6868

6969
/// OS-specific overrides.
70-
#[derive(Clone, Debug, Deserialize)]
70+
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize, JsonSchema)]
7171
#[serde(rename_all = "snake_case")]
7272
pub struct HookOverride {
7373
/// The command to run for this hook.

0 commit comments

Comments
 (0)