Skip to content

Commit

Permalink
chore: fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
danielo515 committed Oct 26, 2023
1 parent e4eea18 commit efc05a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/API.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { App } from "obsidian";

import { MigrationError, type FormDefinition, type FormOptions } from "./core/formDefinition";
import FormResult from "./FormResult";
import FormResult from "./core/FormResult";
import { exampleModalDefinition } from "./exampleModalDefinition";
import ModalFormPlugin from "./main";
import { ModalFormError } from "./utils/Error";
Expand Down Expand Up @@ -49,9 +49,9 @@ export class API {
getFormByName(name: string): FormDefinition | undefined {
const form = this.plugin.settings?.formDefinitions.find((form) => form.name === name);
if (form instanceof MigrationError) {
log_notice('🚫 The form you tried to load has an invalid format',
`The form "${name}" has an invalid format.`+
`We tried to automatically convert it but it failed, please fix it manually in the forms manager.
log_notice('🚫 The form you tried to load has an invalid format',
`The form "${name}" has an invalid format.` +
`We tried to automatically convert it but it failed, please fix it manually in the forms manager.
`)
return undefined;
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Platform, Plugin, WorkspaceLeaf } from "obsidian";
import FormResult from "src/FormResult";
import FormResult from "src/core/FormResult";
import { exampleModalDefinition } from "src/exampleModalDefinition";
import { ModalFormSettingTab } from "src/ModalFormSettingTab";
import { API } from "src/API";
Expand Down

0 comments on commit efc05a4

Please sign in to comment.