mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Prevent Code node linter from erroring on null parse (#6934)
https://linear.app/n8n/issue/PAY-717
This commit is contained in:
@@ -66,6 +66,8 @@ export const linterExtension = defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ast === null) return [];
|
||||||
|
|
||||||
const lintings: Diagnostic[] = [];
|
const lintings: Diagnostic[] = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user