upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-08-27 14:06:46 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-08-27 14:06:46 +0100
commiteaeea28999b457d3a0038142e33ff3cd487f8fa7 (patch)
treebcb9567dd1718de2beb04cbdb1be3476364e0243
parent190b2f622f44c49aa77f8089d9ca9218c0aade81 (diff)
fix(init): make maintainer.yaml copy clearer
as this has reduced in importance as the user begins by selecting a trusted maintainer
-rw-r--r--src/sub_commands/init.rs2
-rw-r--r--tests/init.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sub_commands/init.rs b/src/sub_commands/init.rs
index bb437a5..4958536 100644
--- a/src/sub_commands/init.rs
+++ b/src/sub_commands/init.rs
@@ -373,7 +373,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
373 } 373 }
374 ); 374 );
375 println!( 375 println!(
376 "this optional file enables existing contributors to automatically fetch your repo event (instead of one from a pubkey pretending to be the maintainer)" 376 "this optional file helps in identifying who the maintainers are over time through the commit history"
377 ); 377 );
378 } 378 }
379 Ok(()) 379 Ok(())
diff --git a/tests/init.rs b/tests/init.rs
index 896cef8..c8390e3 100644
--- a/tests/init.rs
+++ b/tests/init.rs
@@ -14,7 +14,7 @@ fn expect_msgs_first(p: &mut CliTester) -> Result<()> {
14fn expect_msgs_after(p: &mut CliTester) -> Result<()> { 14fn expect_msgs_after(p: &mut CliTester) -> Result<()> {
15 p.expect_after_whitespace("maintainers.yaml created. commit and push.\r\n")?; 15 p.expect_after_whitespace("maintainers.yaml created. commit and push.\r\n")?;
16 p.expect( 16 p.expect(
17 "this optional file enables existing contributors to automatically fetch your repo event (instead of one from a pubkey pretending to be the maintainer)\r\n", 17 "this optional file helps in identifying who the maintainers are over time through the commit history\r\n",
18 )?; 18 )?;
19 Ok(()) 19 Ok(())
20} 20}