Skip to content

Commit 4886abb

Browse files
committed
Add executable_name field to Config with default value
1 parent c3cace6 commit 4886abb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/config.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ pub struct Config {
2525

2626
#[serde(default = "default_ignore_dirs")]
2727
pub ignore_dirs: Vec<String>,
28+
29+
#[serde(default = "default_executable_name")]
30+
pub executable_name: String,
2831
}
2932

3033
#[allow(dead_code)]
@@ -61,6 +64,10 @@ fn vendored_gems_path() -> String {
6164
"vendored/".to_string()
6265
}
6366

67+
fn default_executable_name() -> String {
68+
"codeowners".to_string()
69+
}
70+
6471
fn default_ignore_dirs() -> Vec<String> {
6572
vec![
6673
".cursor".to_owned(),

0 commit comments

Comments
 (0)