From ef1407d00e9002eb21078ea6babab936b9f39e8c Mon Sep 17 00:00:00 2001 From: ObsoleteDev <91698052+obsoletedevgit@users.noreply.github.com> Date: Wed, 10 Sep 2025 15:49:32 +0100 Subject: [PATCH] [F] Only mark pride month easter egg as displayed when its june (rust) (#430) fix(rust): Only mark pride month easter egg as displayed when its june --- crates/hyfetch/src/bin/hyfetch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hyfetch/src/bin/hyfetch.rs b/crates/hyfetch/src/bin/hyfetch.rs index 3c0b70d2..45f42610 100644 --- a/crates/hyfetch/src/bin/hyfetch.rs +++ b/crates/hyfetch/src/bin/hyfetch.rs @@ -117,7 +117,7 @@ fn main() -> Result<()> { ) .context("failed to write message to stdout")?; - if !june_path.is_file() { + if !june_path.is_file() && !options.june { File::create(&june_path) .with_context(|| format!("failed to create file {june_path:?}"))?; }