Skip to content

Commit

Permalink
comment: Remove a comment which is no longer true
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Sep 21, 2023
1 parent df25961 commit bd19f8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Commands/CreateOrEditTaskParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export const taskFromLine = ({ line, path }: { line: string; path: string }): Ta
}

// If we are not on a line of a task, we take what we have.
// The non-task line can still be a checklist, for example if it is lacking the global filter.
const nonTaskMatch = line.match(TaskRegularExpressions.nonTaskRegex);
if (nonTaskMatch === null) {
// Should never happen; everything in the regex is optional.
Expand Down

0 comments on commit bd19f8e

Please sign in to comment.