[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
This commit is contained in:
ObsoleteDev 2025-09-10 15:49:32 +01:00 committed by GitHub
parent 075fc467d2
commit ef1407d00e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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:?}"))?;
}