Skip to content

Commit d55b46b

Browse files
committed
v0.0.20
2 parents fd72dc7 + 99acef1 commit d55b46b

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "obsidian-raindrop-highlights",
33
"name": "Raindrop Highlights",
4-
"version": "0.0.19",
4+
"version": "0.0.20",
55
"minAppVersion": "0.14.0",
66
"description": "Sync your Raindrop.io highlights.",
77
"author": "kaiiiz",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-raindrop-highlights",
3-
"version": "0.0.19",
3+
"version": "0.0.20",
44
"description": "Sync your Raindrop.io highlights.",
55
"main": "main.js",
66
"scripts": {

src/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import DEFAULT_TEMPLATE from "./assets/defaultTemplate.njk";
22
import type { RaindropPluginSettings } from "./types";
33

4-
export const VERSION = "0.0.19";
4+
export const VERSION = "0.0.20";
55

66
export const DEFAULT_SETTINGS: RaindropPluginSettings = {
77
version: VERSION,

src/sync.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default class RaindropSync {
130130
// other cases: move to the non existing path
131131
newFilePath = await this.buildNonDupFilePath(folderPath, renderedFilename);
132132
console.debug(`file name change detected, rename "${file.path}" to "${newFilePath}"`);
133-
await this.app.vault.adapter.rename(file.path, newFilePath);
133+
await this.app.fileManager.renameFile(file, newFilePath);
134134
}
135135

136136
async updateFileContent(file: TFile, bookmark: RaindropBookmark) {

versions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"0.0.16": "0.14.0",
1818
"0.0.17": "0.14.0",
1919
"0.0.18": "0.14.0",
20-
"0.0.19": "0.14.0"
20+
"0.0.19": "0.14.0",
21+
"0.0.20": "0.14.0"
2122
}

0 commit comments

Comments
 (0)