Skip to content

Commit

Permalink
Fix path construction
Browse files Browse the repository at this point in the history
  • Loading branch information
lumoe committed Nov 18, 2022
1 parent c32621d commit 8bf9fd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-rollover-daily-todos",
"name": "Rollover Daily Todos",
"version": "1.1.0",
"version": "1.1.1",
"minAppVersion": "0.12.12",
"description": "This Obsidian.md plugin rolls over incomplete TODOs from the previous daily note to today's daily note. (https://obsidian.md). (Originally created by Matthew Sessions)",
"author": "Lukas Mölschl",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default class RolloverTodosPlugin extends Plugin {
const today = new Date();
const todayFormatted = window.moment(today).format(format);
const filePathConstructed = `${folder}${
folder == "" ? "" : "/"
folder == "" ? "/" : ""
}${todayFormatted}.${file.extension}`;
if (filePathConstructed !== file.path) return;

Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"1.0.3": "0.12.12",
"1.0.4": "0.12.12",
"1.0.5": "0.12.12",
"1.1.0": "0.12.12"
"1.1.0": "0.12.12",
"1.1.1": "0.12.12"
}

0 comments on commit 8bf9fd8

Please sign in to comment.