Skip to content

Commit

Permalink
fix(#578): Path variable from octokit is already URL decoded
Browse files Browse the repository at this point in the history
  • Loading branch information
oleeskild committed Feb 10, 2025
1 parent b070128 commit 0767dba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "digitalgarden",
"name": "Digital Garden",
"version": "2.58.0",
"version": "2.58.1",
"minAppVersion": "0.12.0",
"description": "Publish your notes to the web for others to enjoy. For free.",
"author": "Ole Eskild Steensen",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "digitalgarden",
"name": "Digital Garden",
"version": "2.58.0",
"version": "2.58.1",
"minAppVersion": "0.12.0",
"description": "Publish your notes to the web for others to enjoy. For free.",
"author": "Ole Eskild Steensen",
Expand Down
2 changes: 1 addition & 1 deletion src/repositoryConnection/DigitalGardenSiteManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default class DigitalGardenSiteManager {
const hashes: Record<string, string> = {};

for (const img of images) {
const vaultPath = decodeURI(img.path.replace(IMAGE_PATH_BASE, ""));
const vaultPath = img.path.replace(IMAGE_PATH_BASE, "");
hashes[vaultPath] = img.sha;
}

Expand Down
2 changes: 2 additions & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"2.58.1": "0.12.0",
"2.58.0": "0.12.0",
"2.57.2": "0.12.0",
"2.57.1": "0.12.0",
"2.57.0": "0.12.0",
Expand Down

0 comments on commit 0767dba

Please sign in to comment.