Skip to content

Commit

Permalink
fix: release build without raycast folder
Browse files Browse the repository at this point in the history
  • Loading branch information
catacgc committed Nov 26, 2024
1 parent cfb6235 commit 3a9a2c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Build
id: build
run: |
rm -rf raycast # remove the raycast folder
npm install
npm run build --if-present
mkdir ${{ env.PLUGIN_NAME }}
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-tree-search",
"version": "0.9.4",
"version": "0.9.5",
"description": "Quickly search trees of lines in Obsidian",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion raycast/src/bookmarks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function RaycastTokenRenderer(tokens: Token[], actions: ReactNode[]): string {
}

if (token.type == "link_open") {
const href = token.attrs?.[0]?.[1] || "#";
const href = decodeURI(token.attrs?.[0]?.[1] || "#");
const content = tokens[1]?.content;

actions.push(
Expand Down

0 comments on commit 3a9a2c3

Please sign in to comment.