Fixed non-existing this context

This commit is contained in:
Alexander Cerutti
2019-12-10 22:21:18 +01:00
parent 7ed8bf52aa
commit 54865f537b

View File

@@ -107,7 +107,7 @@ export async function getModelFolderContents(model: string): Promise<Partitioned
if (!isModelInitialized) { if (!isModelInitialized) {
throw new Error(formatMessage( throw new Error(formatMessage(
"MODEL_UNINITIALIZED", "MODEL_UNINITIALIZED",
path.parse(this.model).name path.parse(model).name
)); ));
} }