Skip to content

Commit

Permalink
Update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
saberzero1 committed May 10, 2024
1 parent 63883ce commit 032f8fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "quartz-syncer",
"name": "Quartz Syncer",
"version": "1.1.6",
"version": "1.1.7",
"minAppVersion": "0.12.0",
"description": "Sync Obsidian Markdown for Quartz",
"author": "Emile Bangma",
Expand Down
8 changes: 3 additions & 5 deletions src/repositoryConnection/RepositoryConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class RepositoryConnection {

const normalizePath = (path: string) => {
path = path.replace(/\.\.\//g, "");
path.startsWith("/")
return path.startsWith("/")

Check warning on line 216 in src/repositoryConnection/RepositoryConnection.ts

View workflow job for this annotation

GitHub Actions / lint-and-check-formatting

Expected blank line before this statement
? `${this.contentFolder}${path}`
: `${this.contentFolder}/${path}`;
};
Expand Down Expand Up @@ -316,7 +316,7 @@ export class RepositoryConnection {

const normalizePath = (path: string) => {
path = path.replace(/\.\.\//g, "");
path.startsWith("/")
return path.startsWith("/")

Check warning on line 319 in src/repositoryConnection/RepositoryConnection.ts

View workflow job for this annotation

GitHub Actions / lint-and-check-formatting

Expected blank line before this statement
? `${this.contentFolder}${path}`
: `${this.contentFolder}/${path}`;
};
Expand Down Expand Up @@ -359,9 +359,7 @@ export class RepositoryConnection {
);

return {
path: `${this.contentFolder}/${normalizePath(
asset.path,
)}`,
path: normalizePath(asset.path),
mode: "100644",
type: "blob",
sha: blob.data.sha,
Expand Down

0 comments on commit 032f8fc

Please sign in to comment.