Find the input description

This commit is contained in:
Jacob Wallraff
2023-02-17 09:24:55 -08:00
parent e6a6d913b3
commit 8ea37b3d64
2 changed files with 18 additions and 10 deletions
+2 -1
View File
@@ -119,7 +119,8 @@ async function getDescription(
}
const template = await convertWorkflowTemplate(result.context, result.value, config?.fileProvider, {
errorPolicy: ErrorPolicy.TryConversion
errorPolicy: ErrorPolicy.TryConversion,
fetchReusableWorkflowDepth: config?.fileProvider ? 1 : 0,
});
const workflowContext = getWorkflowContext(document.uri, template, path);
const description = await config.descriptionProvider.getDescription(workflowContext, token, path, template);