Skip to content

Commit

Permalink
Case notes to string since sqlite might coerse it to a number (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcain authored Apr 28, 2021
1 parent b3b5045 commit 727dc3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "things-logbook",
"name": "Things Logbook",
"description": "Sync your Things.app Logbook with Daily Notes",
"version": "0.1.9",
"version": "0.1.10",
"author": "Liam Cain",
"authorUrl": "https://github.com/liamcain/",
"isDesktopOnly": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-things-logbook-plugin",
"version": "0.1.9",
"version": "0.1.10",
"description": "Sync Things.app Logbook with Obsidian",
"author": "liamcain",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class LogbookRenderer {

return [
`- [x] ${task.title} ${tags}`.trimEnd(),
...(task.notes || "")
...String(task.notes || "")
.trimEnd()
.split("\n")
.filter((line) => !!line)
Expand Down

0 comments on commit 727dc3e

Please sign in to comment.