joplin-blog
Advanced tools
Comparing version 0.1.3 to 0.1.4
# CHANGELOG | ||
## v0.1.4 - 2020-03-16 | ||
- fix [exporting error](https://github.com/rxliuli/joplin-blog/issues/5) | ||
- fix [mistake correct](https://github.com/rxliuli/joplin-blog/issues/6) | ||
## v0.1.3 - 2020-03-10 | ||
@@ -4,0 +9,0 @@ |
@@ -9,3 +9,3 @@ import { BaseJoplinIntegrated } from './BaseJoplinIntegrated'; | ||
tag: string; | ||
stickyTopIdList: string[]; | ||
stickyTopIdList?: string[]; | ||
} | ||
@@ -12,0 +12,0 @@ /** |
@@ -84,2 +84,3 @@ "use strict"; | ||
convertNote(note, resourceList) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -106,4 +107,3 @@ const idList = this.joplinNoteParser.scanResource(note.body); | ||
updated: note.updatedTime, | ||
sticky: this.config.stickyTopIdList.includes(note.id) | ||
? Number.MAX_SAFE_INTEGER | ||
sticky: ((_a = this.config.stickyTopIdList) === null || _a === void 0 ? void 0 : _a.includes(note.id)) ? Number.MAX_SAFE_INTEGER | ||
: undefined, | ||
@@ -110,0 +110,0 @@ }); |
{ | ||
"name": "joplin-blog", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -21,3 +21,3 @@ import { JoplinService } from './JoplinService' | ||
tag: string | ||
stickyTopIdList: string[] | ||
stickyTopIdList?: string[] | ||
} | ||
@@ -117,3 +117,3 @@ | ||
updated: note.updatedTime, | ||
sticky: this.config.stickyTopIdList.includes(note.id) | ||
sticky: this.config.stickyTopIdList?.includes(note.id) | ||
? Number.MAX_SAFE_INTEGER | ||
@@ -120,0 +120,0 @@ : undefined, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
84649