diff --git a/manifest.json b/manifest.json index 2ddaa0a..899e824 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "quartz-syncer", "name": "Quartz Syncer", - "version": "1.1.1", + "version": "1.1.2", "minAppVersion": "0.12.0", "description": "Sync Obsidian Markdown for Quartz", "author": "Emile Bangma", diff --git a/src/repositoryConnection/RepositoryConnection.ts b/src/repositoryConnection/RepositoryConnection.ts index e30fdbc..a3ff88d 100644 --- a/src/repositoryConnection/RepositoryConnection.ts +++ b/src/repositoryConnection/RepositoryConnection.ts @@ -216,10 +216,10 @@ export class RepositoryConnection { const filesToDelete = filePaths.map((path) => { if (path.endsWith(".md")) { - return `${this.contentFolder}${normalizePath(path)}`; + return `${this.contentFolder}/${normalizePath(path)}`; } - return `${this.contentFolder}${normalizePath(path)}`; + return `${this.contentFolder}/${normalizePath(path)}`; }); const repoDataPromise = this.octokit.request( @@ -327,7 +327,7 @@ export class RepositoryConnection { ); return { - path: `${this.contentFolder}${normalizePath( + path: `${this.contentFolder}/${normalizePath( file.getPath(), )}`, mode: "100644", @@ -353,7 +353,7 @@ export class RepositoryConnection { ); return { - path: `${this.contentFolder}${normalizePath( + path: `${this.contentFolder}/${normalizePath( asset.path, )}`, mode: "100644",