Skip to content

Commit

Permalink
fix: unable to install plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
artisticat1 committed Oct 21, 2023
1 parent 1d2f6a0 commit bf9d005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class LatexSuitePlugin extends Plugin {
let data = await this.loadData();

// Migrate settings from v1.8.0 - v1.8.4
const shouldMigrateSettings = "basicSettings" in data;
const shouldMigrateSettings = data ? "basicSettings" in data : false;

function migrateSettings(oldSettings: any) {
return {
Expand Down

0 comments on commit bf9d005

Please sign in to comment.