Skip to content

Commit

Permalink
v0.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiiiz committed Oct 4, 2023
2 parents fd72dc7 + 99acef1 commit d55b46b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 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-raindrop-highlights",
"name": "Raindrop Highlights",
"version": "0.0.19",
"version": "0.0.20",
"minAppVersion": "0.14.0",
"description": "Sync your Raindrop.io highlights.",
"author": "kaiiiz",
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-raindrop-highlights",
"version": "0.0.19",
"version": "0.0.20",
"description": "Sync your Raindrop.io highlights.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DEFAULT_TEMPLATE from "./assets/defaultTemplate.njk";
import type { RaindropPluginSettings } from "./types";

export const VERSION = "0.0.19";
export const VERSION = "0.0.20";

export const DEFAULT_SETTINGS: RaindropPluginSettings = {
version: VERSION,
Expand Down
2 changes: 1 addition & 1 deletion src/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default class RaindropSync {
// other cases: move to the non existing path
newFilePath = await this.buildNonDupFilePath(folderPath, renderedFilename);
console.debug(`file name change detected, rename "${file.path}" to "${newFilePath}"`);
await this.app.vault.adapter.rename(file.path, newFilePath);
await this.app.fileManager.renameFile(file, newFilePath);
}

async updateFileContent(file: TFile, bookmark: RaindropBookmark) {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"0.0.16": "0.14.0",
"0.0.17": "0.14.0",
"0.0.18": "0.14.0",
"0.0.19": "0.14.0"
"0.0.19": "0.14.0",
"0.0.20": "0.14.0"
}

0 comments on commit d55b46b

Please sign in to comment.