Skip to content

Commit

Permalink
comment: Fix an incorrect comment, noticed in code review
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Sep 21, 2023
1 parent 625bfc1 commit 57b341f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/CreateOrEditTaskParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function shouldUpdateCreatedDateForTask(task: Task) {
return false;
}

// If the task already had a description, treat it as new and add a creation date.
// If the description was empty, treat it as new and add a creation date.
const descriptionIsEmpty = task.description === '';

// If the global filter will be added when the task is saved, treat it as new and add a creation date.
Expand Down

0 comments on commit 57b341f

Please sign in to comment.