mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08: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:
parent
d4fac0527b
commit
40d3a295d3
|
@ -66,6 +66,8 @@ export const linterExtension = defineComponent({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ast === null) return [];
|
||||||
|
|
||||||
const lintings: Diagnostic[] = [];
|
const lintings: Diagnostic[] = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue