From af5ca1c6d0ba4da540511c14fc4f1667b99dfa10 Mon Sep 17 00:00:00 2001 From: Harsha Raghu Date: Fri, 24 Feb 2023 08:49:56 +0530 Subject: [PATCH 1/4] Fix #409 --- src/files-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files-manager.ts b/src/files-manager.ts index 41dced80..a4cf29b9 100644 --- a/src/files-manager.ts +++ b/src/files-manager.ts @@ -76,7 +76,7 @@ export class FileManager { getFolderPathList(file: TFile): TFolder[] { let result: TFolder[] = [] let abstractFile: TAbstractFile = file - while (abstractFile.hasOwnProperty('parent')) { + while (abstractFile && abstractFile.hasOwnProperty('parent')) { result.push(abstractFile.parent) abstractFile = abstractFile.parent } From e752bfb3e042a439b059f3ec4196ef26ed9f6bca Mon Sep 17 00:00:00 2001 From: Harsha Raghu Date: Fri, 24 Feb 2023 09:07:03 +0530 Subject: [PATCH 2/4] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 077a228f..471699b0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +64,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 From 32cfd86811cf8bfb4bd07859b8a0de047cd425ee Mon Sep 17 00:00:00 2001 From: Rubaiyat Khondaker Date: Fri, 24 Mar 2023 16:31:14 +0000 Subject: [PATCH 3/4] Update manifest and versions.json --- manifest.json | 2 +- versions.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 009fb233..fe63dedc 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-to-anki-plugin", "name": "Obsidian_to_Anki", - "version": "3.4.1", + "version": "3.5.0", "minAppVersion": "0.9.20", "description": "This is an Anki integration plugin! Designed for efficient bulk exporting.", "author": "Pseudonium", diff --git a/versions.json b/versions.json index a36e0bdc..55cb11fe 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,6 @@ { + "3.5.0": "0.9.20", "3.4.1": "0.9.20", "3.4.0": "0.9.20", "3.3.5": "0.9.20", From 9e7853df1b1e7b2034ff92c0fac0f210f75a9986 Mon Sep 17 00:00:00 2001 From: Rubaiyat Khondaker Date: Fri, 24 Mar 2023 16:53:24 +0000 Subject: [PATCH 4/4] Realised it should really be a minor patch update... --- manifest.json | 2 +- versions.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index fe63dedc..6fac28ed 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-to-anki-plugin", "name": "Obsidian_to_Anki", - "version": "3.5.0", + "version": "3.4.2", "minAppVersion": "0.9.20", "description": "This is an Anki integration plugin! Designed for efficient bulk exporting.", "author": "Pseudonium", diff --git a/versions.json b/versions.json index 55cb11fe..8d195de8 100644 --- a/versions.json +++ b/versions.json @@ -1,6 +1,6 @@ { - "3.5.0": "0.9.20", + "3.4.2": "0.9.20", "3.4.1": "0.9.20", "3.4.0": "0.9.20", "3.3.5": "0.9.20",