Skip to content

Commit

Permalink
[Bug]: Document Date Completions - Error if Dates Recognized
Browse files Browse the repository at this point in the history
There was an ifTrue: without an ifFalse:
  • Loading branch information
seandenigris committed Jan 11, 2025
1 parent c9afcaf commit 5a58cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtualStash-Core/VsDocument.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ VsDocument >> date: anObject [
VsDocument >> dateCompletions [

| dateCollection |
dateCollection := self datesRecognized isEmptyOrNil ifTrue: [ { Date today } ].
dateCollection := self datesRecognized ifEmpty: [ { Date today } ].
^ dateCollection collect: #mmddyyyy
]

Expand Down

0 comments on commit 5a58cd0

Please sign in to comment.