diff options
Diffstat (limited to 'src/sub_commands')
| -rw-r--r-- | src/sub_commands/init.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sub_commands/init.rs b/src/sub_commands/init.rs index 1c51375..28ba21b 100644 --- a/src/sub_commands/init.rs +++ b/src/sub_commands/init.rs | |||
| @@ -348,8 +348,11 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | |||
| 348 | // if yaml file doesnt exist or needs updating | 348 | // if yaml file doesnt exist or needs updating |
| 349 | if match &repo_config_result { | 349 | if match &repo_config_result { |
| 350 | Ok(config) => { | 350 | Ok(config) => { |
| 351 | !(extract_pks(config.maintainers.clone())?.eq(&maintainers) | 351 | !<std::option::Option<std::string::String> as Clone>::clone(&config.identifier) |
| 352 | && config.relays.eq(&relays)) | 352 | .unwrap_or_default() |
| 353 | .eq(&identifier) | ||
| 354 | || !extract_pks(config.maintainers.clone())?.eq(&maintainers) | ||
| 355 | || !config.relays.eq(&relays) | ||
| 353 | } | 356 | } |
| 354 | Err(_) => true, | 357 | Err(_) => true, |
| 355 | } { | 358 | } { |