[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:
parent
075fc467d2
commit
ef1407d00e
1 changed files with 1 additions and 1 deletions
|
|
@ -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:?}"))?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue