Remove unused code and address feedback
This commit is contained in:
@@ -53,7 +53,7 @@ export async function validate(textDocument: TextDocument, config?: ValidationCo
|
||||
|
||||
if (parsedWorkflow.value) {
|
||||
// Errors will be updated in the context. Attempt to do the conversion anyway in order to give the user more information
|
||||
const template = await fetchOrConvertWorkflowTemplate(file, parsedWorkflow, textDocument.uri, config, {
|
||||
const template = await fetchOrConvertWorkflowTemplate(parsedWorkflow, textDocument.uri, config, {
|
||||
fetchReusableWorkflowDepth: config?.fileProvider ? 1 : 0,
|
||||
errorPolicy: ErrorPolicy.TryConversion
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user