diff --git a/manifest.json b/manifest.json index f09d558..354f396 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-apply-patterns", "name": "Apply Patterns", - "version": "1.4.0", + "version": "1.4.1", "minAppVersion": "0.13.9", "description": "Apply custom patterns of find-and-replace in succession to text.", "author": "Jacob Levernier", diff --git a/package.json b/package.json index db93476..2a79467 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-apply-patterns", - "version": "1.4.0", + "version": "1.4.1", "description": "An Obsidian plugin for applying patterns of find and replace in succession.", "main": "main.js", "scripts": { diff --git a/src/ApplyPattern.ts b/src/ApplyPattern.ts index 3f97c8d..514f7ff 100644 --- a/src/ApplyPattern.ts +++ b/src/ApplyPattern.ts @@ -301,4 +301,4 @@ export const applyPattern = ( command, }); patternModal.open(); -};;; +}; diff --git a/src/main.ts b/src/main.ts index f1c96bb..a9bb775 100644 --- a/src/main.ts +++ b/src/main.ts @@ -119,6 +119,7 @@ export default class ApplyPatternsPlugin extends Plugin { // Update settings if the API version has been incremented: if ( + userSettings === null || userSettings.apiVersion === null || userSettings.apiVersion < defaultSettings.apiVersion ) { diff --git a/versions.json b/versions.json index 6f540d5..76aa60a 100644 --- a/versions.json +++ b/versions.json @@ -6,5 +6,6 @@ "1.2.1": "0.12.0", "1.3.0": "0.12.0", "1.3.1": "0.12.0", - "1.4.0": "0.13.9" + "1.4.0": "0.13.9", + "1.4.1": "0.13.9" }