Fix posisbly null warning

This commit is contained in:
Tal Wrii 2025-02-14 16:24:36 +01:00
parent a4986d02e6
commit a1b7bc39f5

View file

@ -50,7 +50,7 @@ export async function getTp(app: PrivateApp) {
const running_config = p.templater.create_running_config(
"plugin-repl",
app.vault.getFileByPath(path),
app.vault.getFileByPath(path)!,
1
);
const functions_object = await p.templater.functions_generator.generate_object(