obsidian-rollover-daily-todos: Plugin has stopped working as of the latest release

Todos are not being rolled over.

  • If I create today’s note then the todos aren’t copied across
  • If I manually run the Rollover Todos Now action then nothing happens

Yesterday’s note

## Day Plan

- [ ] Test  1
- [x] Sevgin
	- [x] PR
	- [x] Infra
- [ ] Test 2
- [x] Sam
	- [x] PRs
		- [x] Database, Doppler
	- [x] QA tests, create a task
- [ ] Test 3

Today’s note

## Day Plan

Settings below image

This worked until very recently, I assume it is the latest release.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 21 (1 by maintainers)

Most upvoted comments

I’ve debugged the source a bit.

If I change

if (path.startsWith(`${folder}/`)) {
// to
if (path.startsWith(`${folder}`) || path.startsWith(`${folder}/`)) {

Then everything works perfectly.

I am not quite sure how your logic is working above around folder paths to make a PR.

@all please try the newest release 1.1.6