Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
TilakMaddy committed Feb 20, 2025
1 parent e537bbc commit c97c836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aderyn_driver/src/config_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn load_aderyn_config(root: &Path) -> Result<AderynConfig, String> {
let mut config: AderynConfig =
toml::from_str(&content).map_err(|err| format!("Error parsing config file: {}", err))?;

if config.version.is_none_or(|v| v != 1) {
if config.version.is_some_and(|v| v != 1) {
return Err("aderyn.toml version not supported".to_owned());
}

Expand Down

0 comments on commit c97c836

Please sign in to comment.