upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sub_commands/init.rs7
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 } {