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/bin/ngit/sub_commands/init.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/ngit/sub_commands/init.rs b/src/bin/ngit/sub_commands/init.rs
index bf4842a..9479032 100644
--- a/src/bin/ngit/sub_commands/init.rs
+++ b/src/bin/ngit/sub_commands/init.rs
@@ -221,10 +221,8 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
221 .iter() 221 .iter()
222 .map(std::string::ToString::to_string) 222 .map(std::string::ToString::to_string)
223 .collect::<Vec<String>>() 223 .collect::<Vec<String>>()
224 } else if user_ref.relays.read().is_empty() {
225 client.get_fallback_relays().clone()
226 } else { 224 } else {
227 user_ref.relays.read().clone() 225 client.get_fallback_relays().clone()
228 } 226 }
229 } else { 227 } else {
230 args.relays.clone() 228 args.relays.clone()