Skip to content

Commit

Permalink
Fixed bug whereby new installation would fail on API Version check. (#37
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jglev committed Jan 10, 2022
1 parent 68c505c commit e7f4c0d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
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-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": {
Expand Down
2 changes: 1 addition & 1 deletion src/ApplyPattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,4 @@ export const applyPattern = (
command,
});
patternModal.open();
};;;
};
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit e7f4c0d

Please sign in to comment.