Skip to content

Commit

Permalink
Merge pull request #1195 from pjkaufman/master
Browse files Browse the repository at this point in the history
Fix Load Issue and Bump Version for Patch
  • Loading branch information
pjkaufman authored Oct 14, 2024
2 parents 4acd518 + d8c805f commit da51bc3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 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": "obsidian-linter",
"name": "Linter",
"version": "1.27.0",
"version": "1.27.1",
"minAppVersion": "1.5.7",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao",
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": "obsidian-linter",
"name": "Linter",
"version": "1.27.0",
"version": "1.27.1",
"minAppVersion": "1.5.7",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao",
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-linter",
"version": "1.27.0",
"version": "1.27.1",
"description": "Enforces consistent markdown styling for Obsidian (https://obsidian.md). It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ export default class LinterPlugin extends Plugin {

private updatePasteOverrideStatus() {
for (const rule of ruleTypeToRules.get(RuleType.PASTE)) {
if (rule.getOptions(this.settings)['enabled']) {
if (rule.getOptions(this.settings)?.enabled) {
this.overridePaste = true;
return;
}
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
"1.24.0": "1.5.7",
"1.25.0": "1.5.7",
"1.26.0": "1.5.7",
"1.27.0": "1.5.7"
"1.27.0": "1.5.7",
"1.27.1": "1.5.7"
}

0 comments on commit da51bc3

Please sign in to comment.