Skip to content

Empty line added to done.txt when file is missing or empty during archiving #823

@ali-bazrafshan

Description

@ali-bazrafshan

Bug Report

App Version: 2.0.21

Platform: Windows

Installation Method: Direct Download

Expected Behavior:
When archiving, under no circumstances an empty line is added to the beginning of done.txt.

x This is a test.

Actual Behavior:
When archiving, an empty line is added to the beginning of done.txt if the file does not exist or is empty.


x This is a test.

Steps to Reproduce:

  1. Make sure there is no done.txt file in the current directory, or that it is empty.
  2. Make some completed tasks.
  3. Click on archive button.
  4. You can see an empty line in the beginning of done.txt.

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions