Skip to content

Commit 0227d53

Browse files
guard against no schema to find templatePath for
1 parent f3c2760 commit 0227d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function getTemplatePathInScope() {
2020
return templatePath;
2121
}
2222

23-
export async function templateMenuPathForSchemaURI(schemaURI) {
23+
export async function templatePathForSchemaURI(schemaURI) {
2424
// resolve the schema URI
2525
// for now, this is just the manifest
2626
for (let i = 0; i < template_manifest.children.length; i++) {

0 commit comments

Comments
 (0)